ericflo / pynzb

pynzb is a unified API for parsing NZB files, with several concrete implementations included
BSD 3-Clause "New" or "Revised" License
18 stars 6 forks source link

Python 3 support #3

Open vadmium opened 10 years ago

vadmium commented 10 years ago

You might be interested in some small changes I made to a version of this package. They are in the /usenet/pynzb/ directory at https://bitbucket.org/vadmium/pyrescene/src/py3/usenet/pynzb/. Unfortunately I don’t think Bitbucket provides a page with a log or diff of a directory, but here is a summary of my changes:

The result should work on Python 3 and Python 2 with the same code, although it would drop Python < 2.6 support. Let me know if you would like to me to migrate these changes from Mercurial to Git.

vadmium commented 7 years ago

The above changes were merged into the upstream "Pyrescene" project:

See also PR #4 with the set_message_id() fix.