Skip to content
This repository has been archived by the owner on Apr 19, 2022. It is now read-only.

Remove long literal to maintain python3 compatibility #203

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ohhorob
Copy link

@ohhorob ohhorob commented May 20, 2016

No description provided.

@wouterdebie
Copy link

Does snakebite even work on py3? Also, could you squash those commits?

Thanks!

@punkrockpolly
Copy link

punkrockpolly commented Sep 13, 2017

I'm trying to use snakebite with python 3 and this 1L keeps throwing a syntax error, so I would appreciate if this was resolved.

In Python 3, all integers are long. Python 2 switches to the long type transparently as needed anyway. int and long were "unified" a few versions back. So it seems that 1L could be 1 and work with both versions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants