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.
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 passingbufsize=-1
?Anyway, tx++ for providing this and linking it from the hunspell.c page.