[issue3727] poplib module broken by str to unicode conversion

STINNER Victor report at bugs.python.org
Tue Oct 14 01:07:29 CEST 2008


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

Ooops, my previous patch was wrong (startswith => not startswith).

I tested python trunk test for poplib: with minor changes, all tests 
are ok except tests using SSL. I get a "select.error: (9, 'Bad file 
descriptor')" from asyncore. So I tried to synchronize python3 ssl 
with python2 trunk, but it depends on python2 trunk version of the 
socket module and this module is very complex and hard to port to 
python3.

About EBADF error from select(), it may comes from missing makefile() 
method of the ssl socket wrapper.

Added file: http://bugs.python.org/file11778/poplib_unicode-2.patch

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


More information about the Python-bugs-list mailing list