[issue23391] Documentation of EnvironmentError (OSError) arguments disappeared

Martin Panter report at bugs.python.org
Thu Jun 11 06:40:54 CEST 2015


Martin Panter added the comment:

New patch with the following changes. Let me know what you think.

* Added extra markup for OSError attributes and constructor signature
* Explained how “winerror” works with and without Windows
* Added “filename2” argument
* Update tests for filename2 defaulting to None

For reference, the argument handling seems to be in oserror_parse_args(), at Objects/exceptions.c:724, and related functions.

----------
versions: +Python 3.6
Added file: http://bugs.python.org/file39678/os-error-args.v2.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23391>
_______________________________________


More information about the Python-bugs-list mailing list