This assertion is raising an exception in xref.py:
assert isinstance(generation, int) and 0 <= generation <= MAX_GEN
MAX_GEN is 65535. I have a PDF file with a value of 65536. When I comment out this assertion, it works fine (I just need to pull the text). I searched for references to this field and didn't find any. I'd prefer to know what this means if possible and also to not have to fork the library if I can avoid it.
This assertion is raising an exception in xref.py:
assert isinstance(generation, int) and 0 <= generation <= MAX_GEN
MAX_GEN is 65535. I have a PDF file with a value of 65536. When I comment out this assertion, it works fine (I just need to pull the text). I searched for references to this field and didn't find any. I'd prefer to know what this means if possible and also to not have to fork the library if I can avoid it.