Closed pietermarsman closed 4 months ago
Pull request
This is what happened in practice for correct input (e.g. PSLiteral). But now it also always returns a str when the object is not a PSLiteral.
PSLiteral
str
This fixes #977 because it makes the literal name object hashable. This sample PDF will now crash with a PDFSyntaxError. That's good.
How Has This Been Tested?
With the PDF from #977. And with nox.
Checklist
Pull request
This is what happened in practice for correct input (e.g.
PSLiteral
). But now it also always returns astr
when the object is not aPSLiteral
.This fixes #977 because it makes the literal name object hashable. This sample PDF will now crash with a PDFSyntaxError. That's good.
How Has This Been Tested?
With the PDF from #977. And with nox.
Checklist