◐ Shell
clean mode source ↗

Message 319179 - Python tracker

I've been experiencing the same issue, which is triggered in the exception handling of web.py.

Bert's proposed fix, adding the zero byte check (if self._binary_file or self.length >= 0:) addresses the issue I'm seeing (tested on 3.5, it's what's available where I can reproduce the error).

This issue seems to be languishing.  Is there any way we could push this forward, even if it doesn't address every problem with the lib?