[issue1210] imaplib does not run under Python 3
Ismail Donmez
report at bugs.python.org
Tue Aug 26 19:50:39 CEST 2008
Ismail Donmez <ismail at namtrac.org> added the comment:
Still fails with beta2:
>>> import imaplib
>>> mail=imaplib.IMAP4("mail.rtmq.infosathse.com")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.0/imaplib.py", line 185, in __init__
self.welcome = self._get_response()
File "/usr/local/lib/python3.0/imaplib.py", line 912, in _get_response
if self._match(self.tagre, resp):
File "/usr/local/lib/python3.0/imaplib.py", line 1021, in _match
self.mo = cre.match(s)
TypeError: can't use a string pattern on a bytes-like object
----------
nosy: +cartman
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1210>
_______________________________________
More information about the Python-bugs-list
mailing list