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
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
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.
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