◐ Shell
clean mode source ↗

Message 256745 - Python tracker

According to the PDF Spec http://www.adobe.com/devnet/pdf/pdf_reference.html section 7.4.3,
The ascii85decode function only utilizes ~> as an EOD 2byte character, there is no mention of leading <~.   Therefore using the base64.a85decode(data, adobe=True) does not work on valid data coming from a pdf because that data may not have a leading <~.

Solution: do not require leading <~ for adobe=True.