mfenniak/pyPdf — pull request #35 by rranshous (2011-12-12 16:58:10+00:00)
Title: PDF never finishes writing

Patch adds empty string to the NamedObject readFromStream deliminator list.

I have an example PDF that when writing the readFromStream would never return because no deliminator could be found, which caused it to keep pulling empty strings off the StringIO buffer.

I have no doubt that the update I've made is not the best solution, but it results in seemingly correct PDFs for me in this case.

I have the example PDF and could email it to you upon request.