[issue24080] asyncio.Event.wait() Task was destroyed but it is pending

2015-04-30 Thread Matt Johnston
New submission from Matt Johnston: asyncio.Event.wait() doesn't seem to be cancelled by asyncio.wait_for(). Ctrl-c in the attached example produces output below. I'm not certain the code is correct though the documentation for wait_for() suggests it should work. Without the wai

[issue11306] mailbox should test for errno.EROFS

2011-02-23 Thread Matt Johnston
New submission from Matt Johnston : When opening mailboxes the module checks for errno.EACCES. This doesn't help if the location is mounted read-only. Something like the following (against Python 2.6) would fix it, there are a few other checks in mailbox.py for EACCES too. --- mailbox.py

[issue4239] Email example should use SMTP.quit() rather than SMTP.close()

2008-10-29 Thread Matt Johnston
Matt Johnston <[EMAIL PROTECTED]> added the comment: Another problem with that example - the .connect() isn't required and causes the SMTP session to fail to send anything and time out. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.

[issue4239] Email example should use SMTP.quit() rather than SMTP.close()

2008-10-29 Thread Matt Johnston
New submission from Matt Johnston <[EMAIL PROTECTED]>: The email module example has "s.close()", while the smtplib docs say to use .quit() The latter is probably correct? -- assignee: georg.brandl components: Documentation messages: 75354 nosy: georg.brandl, matt