GithubHelp home page GithubHelp logo

Python Version Compatibility about pypdf HOT 4 CLOSED

py-pdf avatar py-pdf commented on July 17, 2024
Python Version Compatibility

from pypdf.

Comments (4)

mstamy2 avatar mstamy2 commented on July 17, 2024

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

from pypdf.

mstamy2 avatar mstamy2 commented on July 17, 2024

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

from pypdf.

mstamy2 avatar mstamy2 commented on July 17, 2024

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.

from pypdf.

mstamy2 avatar mstamy2 commented on July 17, 2024

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.

from pypdf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.