-
Notifications
You must be signed in to change notification settings - Fork 37
Python 3 Support #15
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
base: master
Are you sure you want to change the base?
Python 3 Support #15
Conversation
f83389b to
115331c
Compare
| self.assertEqual(base64_encoded[-1], '=') | ||
|
|
||
| # actual test | ||
| self.assertNotEqual(jose.b64encode_url(istr), '=') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This assertion looks broken
|
Looks good to me |
jose.py
Outdated
| ('enc', enc), ('alg', alg)]) | ||
| header = dict( | ||
| list((add_header or {}).items()) + [('enc', enc), ('alg', alg)] | ||
| ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You didn't add this but it looks a bit ugly.
It would look much better this way: header = dict(add_header or {}, enc=enc, alg=alg)
|
Please add a note to |
|
@Newky @yuriikonovaliuk Thanks for the reviews guys - I added a commit with some cleanups, please take a look. I removed |
| 'Intended Audience :: Information Technology', | ||
| 'License :: OSI Approved :: BSD License', | ||
| 'Operating System :: OS Independent', | ||
| 'Programming Language :: Python :: 2 :: Only', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line you no longer need...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess you can just change it to Programming Language :: Python :: 2.7 and add some more with Python 3.* versions
|
Splendid! Django is dropping support for 2.7 next year and jose was one of the hold outs. |
|
Will this get its merge conflicts resolved and an update pushed to pypi? |
|
Why the maintainer of this project hate Python 3 so much? This should have already been merged into master. |
|
Plz, push to pypi? |
|
Hi @nmurtagh, |
|
is that repository deprecated? it doesnt work with python 3. |
Addresses #13