Closed cclauss closed 4 years ago
implying tumblr will live long enough for the 2 -> 3 transition to matter
(i kid, i kid)
On Tue, Dec 4, 2018 at 5:54 PM cclauss notifications@github.com wrote:
- Use print() function in both Python 2 and Python 3
- print() is a function in Python 3.
- Old style exceptions --> new style for Python 3
- Python 3 treats old style exceptions as syntax errors but new style exceptions work as expected in both Python 2 and Python 3.
You can view, comment on, or merge this pull request online at:
https://github.com/bbolli/tumblr-utils/pull/124 Commit Summary
- Modernize Python 2 code to get ready for Python 3
File Changes
- M mail_export.py https://github.com/bbolli/tumblr-utils/pull/124/files#diff-0 (7)
- M oauth.py https://github.com/bbolli/tumblr-utils/pull/124/files#diff-1 (23)
- M tumble.py https://github.com/bbolli/tumblr-utils/pull/124/files#diff-2 (6)
Patch Links:
- https://github.com/bbolli/tumblr-utils/pull/124.patch
- https://github.com/bbolli/tumblr-utils/pull/124.diff
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bbolli/tumblr-utils/pull/124, or mute the thread https://github.com/notifications/unsubscribe-auth/AAORV7q6PcpierTXrk87l8RHclAzYzizks5u1v0IgaJpZM4ZBqia .
These changes do not break compatibility with Python 2. Related to #96