[issue25852] smtplib's SMTP.connect() should store the server name in ._host for .starttls()

2016-09-09 Thread gigaplastik
gigaplastik added the comment: Here is the updated (3.6.0a4+) patch for the issue with the unit test included. My unit test only checks for this issue particular artifacts, it does not test that .starttls actually works. This is because the current test suite for smtplib (Lib/test

[issue26543] imaplib noop Debug

2016-03-19 Thread gigaplastik
Changes by gigaplastik : -- nosy: +gigaplastik ___ Python tracker <http://bugs.python.org/issue26543> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25852] smtplib's SMTP.connect() should store the server name in ._host for .starttls()

2016-03-03 Thread gigaplastik
gigaplastik added the comment: Found the same issue independently, but I believe my version of the patch is a little more thoughtful. Since the host is allowed to be supplied in 'hostname:port' format the assignment to ._host should be made _after_ checking (and probably parsing) t

[issue22671] Typo in class io.BufferedIOBase docs

2014-10-19 Thread gigaplastik
New submission from gigaplastik: The online documentation for class io.BufferedIOBase states the following: "Besides, the read() method does not have a default implementation that defers to readinto()." According to the documentation for class io.RawIOBase (which the statement com