[issue22014] Add summary table for OS exception <-> errno mapping

2014-08-12 Thread Jon Poler
Jon Poler added the comment: I will give this a shot if it is just hard-coding a table with errno names. Dynamically scraping the errno names and inserting them with the exception hierarchy might be beyond me since I've never used Sphinx before. -- nosy: +jon.

[issue22014] Improve display of OS exception <-> errno mapping

2014-08-13 Thread Jon Poler
Jon Poler added the comment: I'm not entirely sure that I'm interpreting what you are looking for correctly, but here is what the table looks like with literalinclude. -- keywords: +patch Added file: http://bugs.python.org/file36365/OS_exceptions_t

[issue22191] warnings.__all__ incomplete

2014-08-13 Thread Jon Poler
Jon Poler added the comment: Antoine: I'll look in to this unless you want do so yourself. Thanks. -- nosy: +jon.poler ___ Python tracker <http://bugs.python.org/is

[issue22191] warnings.__all__ incomplete

2014-08-14 Thread Jon Poler
Jon Poler added the comment: Serhiy, should I submit these fixes as separate patches? E.g. one patch for the warnings module, and another for the socket module? More generally, should the items included in __all__ be derived from the items described in the documentation? For instance, only

[issue22191] warnings.__all__ incomplete

2014-08-15 Thread Jon Poler
Jon Poler added the comment: Here is a patch that changes __all__ in Lib/warnings.py to include the functions mentioned in the library reference https://docs.python.org/dev/library/warnings.html#available-functions. A unittest is included. This is my first patch, so comments/feedback are

[issue22014] Improve display of OS exception <-> errno mapping

2014-08-17 Thread Jon Poler
Jon Poler added the comment: Here's one way to accomplish this. Please see attached os_exceptions_table_V2.patch. I wasn't having much luck trying to use ReST, so I took advantage of the fact that the Doc/conf.py file is executed every time sphinx-build is run. conf.py imports and

[issue22242] Doc fix in the Import section in language reference.

2014-08-21 Thread Jon Poler
New submission from Jon Poler: It looks like there might be a contradiction in the documentation of import in the language reference. In the loading subsection https://docs.python.org/dev/reference/import.html#loading, first bulleted list of the section, it specifies that if a loader fails

[issue22191] warnings.__all__ incomplete

2014-08-23 Thread Jon Poler
Jon Poler added the comment: Thanks, Brett! -- ___ Python tracker <http://bugs.python.org/issue22191> ___ ___ Python-bugs-list mailing list Unsubscribe: