[issue9400] multiprocessing.pool.AsyncResult.get() messes up exceptions

2016-09-06 Thread Stanislaw Pitucha
Stanislaw Pitucha added the comment: Confirming this on python 2.7.12 on DragonflyBSD -- nosy: +viraptor ___ Python tracker <http://bugs.python.org/issue9

[issue22854] Documentation/implementation out of sync for IO

2014-11-12 Thread Stanislaw Pitucha
Stanislaw Pitucha added the comment: Just in case: yes, UnsupportedOperation is an IOError - but shouldn't docstring here be more specific? -- ___ Python tracker <http://bugs.python.org/is

[issue22854] Documentation/implementation out of sync for IO

2014-11-12 Thread Stanislaw Pitucha
New submission from Stanislaw Pitucha: The docstring on for fileno() method says: "An IOError is raised if the IO object does not use a file descriptor." In reality, UnsupportedOperation is raised instead: ``` : io.StringIO().fileno() UnsupportedOperation: fileno ``` --