[issue3727] poplib module broken by str to unicode conversion

STINNER Victor report at bugs.python.org
Tue Oct 14 02:30:00 CEST 2008


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

New version:
 - remove duplicate methods of POP3_SSL()
 - use makefile('r', encoding=self.encoding) to get a nice text 
wrapper with universal newline
 - remove newline conversion (done by TextIOWrapper)

Finally my patch removes more code in poplib.py than it adds :-D I 
like such patch.

Python3 new I/O library rocks!

Added file: http://bugs.python.org/file11781/poplib_unicode-4.patch

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


More information about the Python-bugs-list mailing list