You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm developing a Python's application using pdfrw and all seems ok, but i
discovered that when i run my application with optimizations activated (python
-OO) pdfrw can't decode any pdf and raises Exceptions.
By a quickly inspection of pdfrw's source code i found in pdfreader.py rows as
these:
assert source.next() == 'R'
assert source.next() == '<<'
assert source.next() == 'startxref' and source.floc > startloc
calling .next() in an assert will change the program working flow if
optimizations are on or off.
Giuseppe
Original issue reported on code.google.com by gius.d...@gmail.com on 14 Sep 2012 at 7:48
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
gius.d...@gmail.com
on 14 Sep 2012 at 7:48The text was updated successfully, but these errors were encountered: