Skip to content
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

Make Python 3 compatible #10

Closed
loechel opened this issue Jan 12, 2014 · 3 comments
Closed

Make Python 3 compatible #10

loechel opened this issue Jan 12, 2014 · 3 comments

Comments

@loechel
Copy link

loechel commented Jan 12, 2014

Hi, could you try to make short_url compatible with Python 3,

The statment """ n & ~self.mask """ returns an """ TypeError: unsupported operand type(s) for &: 'str' and 'int' """ on Python 3

@Alir3z4
Copy link
Owner

Alir3z4 commented Jan 18, 2014

@loechel It's compatible, could you show how to reproduce it?

@mdxs
Copy link

mdxs commented May 28, 2014

Guess this issue can be closed, as it probably is due to trying to encode_url a string... similar to how http://code.activestate.com/recipes/576918/#c2 tries to shorten a full URL string and showing the same TypeError reported above.

@Alir3z4
Copy link
Owner

Alir3z4 commented May 28, 2014

You're right.
I'm going to close this, thanks @mdxs

@Alir3z4 Alir3z4 closed this as completed May 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants