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

Changes to make library compatible with Python3. #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

baali
Copy link

@baali baali commented Nov 3, 2016

Hello,

I have been working on to make the library work with Py3. Changes include:

  • Fixing StringIO import and its usage.
  • Fixing obsolete builitin import.
  • Fixed obsolete DictMixin import for base class and corresponding changes in arguments.
  • Specific cases of handling str and bytes type to make sure things are working.
  • There are changes in GZipFile, fixed read_member function of GzipFile to return _buffer element for py3.

Existing tests are working fine with this PR but I think they need to be extended to make sure handling of bytes and str types are working in all possible scenarios. Do let me know your comments and reviews and I will fix and update the PR accordingly.

@pwaller
Copy link

pwaller commented Aug 1, 2017

Ping @nibrahim - this would be useful to quite a few people - I've sent you a personal email, too.

@piercefreeman
Copy link

Would also love to see this merged. /cc @mekarpeles since he's an active maintainer of other internet archive projects.

@baali
Copy link
Author

baali commented Aug 14, 2018

I haven't worked again with this from quite some time, do let me know if you have noticed any bugs and I would be happy to update my PR with fixes... 🙏

@piercefreeman
Copy link

@baali Noticed one around byte length calculations... Want me to put up a PR on your branch?

@baali
Copy link
Author

baali commented Aug 14, 2018

@piercefreeman That would be great 👍

@piercefreeman
Copy link

@baali Put up a PR - let me know when you get a chance.

@jbrockmendel
Copy link

ping. Is this or something like it going to be accepted?

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

Successfully merging this pull request may close these issues.

4 participants