jnweiger / pdfcompare

compare two PDF files, write a resulting PDF with highlighted changes
GNU General Public License v2.0
54 stars 15 forks source link

query use of _readline in hunspell.py #3

Open tallforasmurf opened 11 years ago

tallforasmurf commented 11 years ago

Just a possibly ignorant query regarding the method _readline() in hunspell.py: your comment indicates a lack of buffering, but is this not affected by the bufsize= parameter of popen (which can be passed via the subprocess call)? The doc says "The default value for bufsize is 0 (unbuffered)." Did you try passing bufsize=-1?

Anyway, tx++ for providing this and linking it from the hunspell.c page.