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 <rep...@bugs.python.org> <http://bugs.python.org/issue23391> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com