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.
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
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
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
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
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
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
Jon Poler added the comment:
Thanks, Brett!
--
___
Python tracker
<http://bugs.python.org/issue22191>
___
___
Python-bugs-list mailing list
Unsubscribe: