Your message dated Mon, 14 Nov 2022 23:45:11 +0100
with message-id <[email protected]>
and subject line Re: python3-pypdf2: Python 3.x package ships (non-functional) 
Python 2.x examples
has caused the Debian Bug report #911649,
regarding python3-pypdf2: Python 3.x package ships (non-functional) Python 2.x 
examples
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
911649: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911649
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-pypdf2
Version: 1.26.0-2
Severity: normal

Hi,

python3-pypdf2 (NB. the Python 3.x variant) version ships «inter
alia» the following example file:

  /usr/share/doc/python3-pypdf2/examples/basic_features.py 

However, this file assumes Python 2:

  $ python3 /usr/share/doc/python3-pypdf2/examples/basic_features.py

    File "/usr/share/doc/python3-pypdf2/examples/basic_features.py", line 7
      print "document1.pdf has %d pages." % input1.getNumPages()
                                        ^
  SyntaxError: invalid syntax


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-

--- End Message ---
--- Begin Message ---
Version: 2.11.1-1

This example is not shipped anymore (in some bookworm release cycle version).

--- End Message ---

Reply via email to