[issue3727] poplib module broken by str to unicode conversion

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


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

New version:
 - fix SSL: self.file contains the SSL socket and not the raw socket!
 - upgrade test_poplib.py from Python trunk

poplib should be refactored to reuse the new IO library. But I don't 
know how to build a TextIO wrapper for a socket. Using TextIO, it 
would be possible to remove newline (CR/LF) and unicode 
encoding/decoding code.

Added file: http://bugs.python.org/file11780/poplib_unicode-3.patch

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


More information about the Python-bugs-list mailing list