[issue19770] NNTP.post broken

Szymon Sobik report at bugs.python.org
Mon Nov 25 14:08:29 CET 2013


Szymon Sobik added the comment:

Traceback (most recent call last):
  File "./nntp_test.py", line 23, in <module>
    s.post(msg)
  File "/usr/lib/python3.3/nntplib.py", line 909, in post
    return self._post('POST', data)
  File "/usr/lib/python3.3/nntplib.py", line 895, in _post
    if not line.endswith(_CRLF):
TypeError: endswith first arg must be str or a tuple of str, not bytes

----------
Added file: http://bugs.python.org/file32836/nntp_test.py

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


More information about the Python-bugs-list mailing list