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

Remove long literal to maintain python3 compatibility#203

Open
ohhorob wants to merge 2 commits into
spotify:masterfrom
ohhorob:patch-1
Open

Remove long literal to maintain python3 compatibility#203
ohhorob wants to merge 2 commits into
spotify:masterfrom
ohhorob:patch-1

Conversation

@ohhorob

@ohhorob ohhorob commented May 20, 2016

Copy link
Copy Markdown

No description provided.

@wouterdebie

Copy link
Copy Markdown

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

Thanks!

@punkrockpolly

punkrockpolly commented Sep 13, 2017

Copy link
Copy Markdown

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