[issue23962] Incorrect TimeoutError referenced in concurrent.futures documentation

2015-04-14 Thread Ryder Lewis
Ryder Lewis added the comment: I attached a small patch that fixes the documentation, and also documents the other missing exceptions from concurrent.futures documentation. -- keywords: +patch Added file: http://bugs.python.org/file39029/issue23962.patch

[issue23962] Incorrect TimeoutError referenced in concurrent.futures documentation

2015-04-14 Thread Ryder Lewis
New submission from Ryder Lewis: The documentation at https://docs.python.org/3/library/concurrent.futures.html has several functions that case raise a TimeoutError. The hyperlink generated for TimeoutError links to the built-in exception https://docs.python.org/3/library/exceptions.html

[issue21886] asyncio: Future.set_result() called on cancelled Future raises asyncio.futures.InvalidStateError

2014-06-30 Thread Ryder Lewis
Changes by Ryder Lewis : -- nosy: +ryder.lewis ___ Python tracker <http://bugs.python.org/issue21886> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21512] time module becomes None after raise SystemExit

2014-05-15 Thread Ryder Lewis
New submission from Ryder Lewis: I'm not sure if this is a bug or expected behavior, but basically what I want to do is log the timestamp when an application exits. Sample script to illustrate the issue: try.py import time class A(): def __init__(self):

[issue21447] Intermittent asyncio.open_connection / futures.InvalidStateError

2014-05-06 Thread Ryder Lewis
Ryder Lewis added the comment: Another run raised a different exception, again running ./example.py http://www.yahoo.com/ Timed out with 0.05-second timeout HTTP header> HTTP/1.0 301 Redirect HTTP header> Date: Tue, 06 May 2014 18:58:53 GMT HTTP header> Connection: close HTTP header&g

[issue21447] Intermittent asyncio.open_connection / futures.InvalidStateError

2014-05-06 Thread Ryder Lewis
New submission from Ryder Lewis: Intermittently, when using asyncio.wait_for() with asyncio.open_connection() to cancel the open_connection() task after a timeout period, an asyncio.futures.InvalidStateError is raised. It seems to be a race condition, if the open_connection() call succeeds