[issue28971] nntplib fails on all buildbots

Xavier de Gaye report at bugs.python.org
Wed Dec 14 11:34:44 EST 2016


Xavier de Gaye added the comment:

The problem is when getting an overview of the following comp.lang.python mail:
    OT - "Soft" ESC key on the new MacBook Pro   Michael Torrie
    Tue Dec 13 21:33:07 EST 2016

This is at index (last - 16) now and that is why the buildbots do not fail anymore.
The response received from the server for this mail in the _getline() function is 2058 bytes long and _getline() raises NNTPDataError because this is greater than _MAXLINE (2048). Setting _MAXLINE to 4096 fixes the problem.

There remains to explain the failures in the other tests.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28971>
_______________________________________


More information about the Python-bugs-list mailing list