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

Python Version Compatibility #16

Closed
mstamy2 opened this issue Jul 29, 2013 · 4 comments
Closed

Python Version Compatibility #16

mstamy2 opened this issue Jul 29, 2013 · 4 comments
Labels
is-bug From a users perspective, this is a bug - a violation of the expected behavior with a compliant PDF is-feature A feature request

Comments

@mstamy2
Copy link
Collaborator

mstamy2 commented Jul 29, 2013

A new PyPDF2 branch 'Python3-3' has been created, incorporating William Culver's changes from his pull request #4 . However, it currently only completely works on Python 2.6 and 2.7.

@mstamy2
Copy link
Collaborator Author

mstamy2 commented Jul 30, 2013

'unicode' as a keyword does not exist in python 3, as strings are Unicode. That change needs to be made.

@mstamy2
Copy link
Collaborator Author

mstamy2 commented Aug 21, 2013

extractText Issue #17 appears to be related. The method works relatively smoothly, but fails often in Python 3

@mstamy2
Copy link
Collaborator Author

mstamy2 commented Aug 26, 2013

The goal for branch Python3-3 is for all features of PyPDF2 to be compatible with all python versions from 2.5 - 3.3 (and soon 3.4). This may make the code a little 'less clean'. I pushed a few experimental changes in commit df5d5f2. The main error that persists is that PyPDF2 is unable to find the endstream marker when parsing streams. (In Python 3+). Also, we need to merge this branch with PyPDF2 1.18, which will cause many merge conflicts in pdf.py.

@mstamy2
Copy link
Collaborator Author

mstamy2 commented Jan 20, 2014

This project is nearly finished (although support for Python 2.5 is dropped). The only major compatibility issue that remains is that of encryption, which is listed in a separate issue.

@mstamy2 mstamy2 closed this as completed Jan 20, 2014
@MartinThoma MartinThoma added is-feature A feature request and removed Feature labels Jun 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is-bug From a users perspective, this is a bug - a violation of the expected behavior with a compliant PDF is-feature A feature request
Projects
None yet
Development

No branches or pull requests

2 participants