STINNER Victor added the comment:

> New changeset 5d1c03316af7 by Georg Brandl in branch '3.2':
> Issue #16039: CVE-2013-1752: Change use of readline in imaplib module to limit
> https://hg.python.org/cpython/rev/5d1c03316af7

I'm not sure that this change is correct, the test failed on Windows. Or maybe, 
it's just an issue with test test?

http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/5168/steps/test/logs/stdio

======================================================================
ERROR: test_connect (test.test_smtpnet.SmtpSSLTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\test_smtpnet.py", 
line 16, in test_connect
    server = smtplib.SMTP_SSL(self.testServer, self.remotePort)
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\smtplib.py", line 862, 
in __init__
    SMTP.__init__(self, host, port, local_hostname, timeout)
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\smtplib.py", line 260, 
in __init__
    (code, msg) = self.connect(host, port)
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\smtplib.py", line 321, 
in connect
    (code, msg) = self.getreply()
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\smtplib.py", line 367, 
in getreply
    line = self.file.readline(_MAXLINE + 1)
TypeError: readline() takes exactly 1 positional argument (2 given)

----------
resolution: fixed -> 
status: closed -> open

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16039>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to