-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError after 2to3 #25
Comments
I have the same issue while running go.py. |
@mpenkov thanks but did your answer not format properly? I guess I'm not seeing a difference in the slashes as you mention them. I have tried using both / and // in my code and it will still not work. |
@nittanycolonial Whoops. Here's what I meant:
Have a look at the pull-requests I mentioned for more info. |
Hello guys, I did a pull to the original project and I couldn't seem to get it working straight away on python3.5. I've forked the project and it now works with python3.5. The main things were: hope this helps. |
I have used 2to3 to run this library and I keep on running into a TypeError of:
def get_lexographically_next_bit_sequence(self, bits): t = (bits | (bits - 1)) + 1 next = t | ((((t & -t) // (bits & -bits)) >> 1) - 1) yield next while True: t = (next | (next - 1)) + 1 next = t | ((((t & -t) // (next & -next)) >> 1) - 1) yield next
I have tried other parts of the library and they work, so I'm pretty confident that 2to3 worked fine. It's only when I load the evaluator that this message pops up. Any thoughts?
The text was updated successfully, but these errors were encountered: