[issue23962] Incorrect TimeoutError referenced in concurrent.futures documentation

2016-01-18 Thread Senthil Kumaran

Senthil Kumaran added the comment:

Thanks for the report and the patch. I have fixed that in 3.5 and 3.6 docs. I 
found it reasonable to include the full module path for TimeoutError makeing it 
consist with asyncio and multiprocessing TimeoutError.

Also, Error exception is not exposed via __all__ so, left this out in the 
documentation.

--
assignee: docs@python -> orsenthil
nosy: +orsenthil
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.6 -Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23962] Incorrect TimeoutError referenced in concurrent.futures documentation

2016-01-18 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 673d1ccea050 by Senthil Kumaran in branch '3.5':
issue23962 - Reference the correct TimeoutError in concurrent.futures 
documentation.
https://hg.python.org/cpython/rev/673d1ccea050

New changeset 2b0c7b67eca5 by Senthil Kumaran in branch 'default':
merge from 3.5
https://hg.python.org/cpython/rev/2b0c7b67eca5

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23962] Incorrect TimeoutError referenced in concurrent.futures documentation

2015-12-05 Thread Dingyuan Wang

Changes by Dingyuan Wang :


--
nosy: +gumblex

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23962] Incorrect TimeoutError referenced in concurrent.futures documentation

2015-12-05 Thread Martin Panter

Martin Panter added the comment:

A similar problem used to exist with asyncio.TimeoutError: Issue 21376.

There is no class called concurrent.future.Error, so I would remove that bit. 
Otherwise, the rest of the patch looks worthwhile.

With asyncio and multiprocessing, the exception name is spelt out in full, 
including the module prefix. Maybe it could also be done here to be less 
ambiguous. When reading it with an ordinary web browser, you don’t get to see 
the target of the hyperlinks. On the other hand, a full 
“concurrent.futures.TimeoutError” is rather long and unwieldy. I’m not sure.

--
nosy: +martin.panter

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23962
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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#TimeoutError. However, the 
exception raised is a concurrent.futures._base.TimeoutError exception instead, 
which is undocumented.

--
assignee: docs@python
components: Documentation
messages: 241074
nosy: docs@python, ryder.lewis
priority: normal
severity: normal
status: open
title: Incorrect TimeoutError referenced in concurrent.futures documentation
versions: Python 3.4, Python 3.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23962
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23962] Incorrect TimeoutError referenced in concurrent.futures documentation

2015-04-14 Thread Ned Deily

Changes by Ned Deily n...@acm.org:


--
nosy: +bquinlan
stage:  - patch review

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23962
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com