Skip to content

report object name upon mangle_docstrings exception #164

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 21, 2019

Conversation

jnothman
Copy link
Member

@jnothman jnothman commented Apr 9, 2018

No description provided.

@jorisvandenbossche
Copy link
Contributor

Does this automatically integrate with sphinx logging? (that warnings are printed, and their verbose option). Maybe we can do from sphinx.util import logging instead of import logging (like eg in autodoc: https://github.com/sphinx-doc/sphinx/blob/master/sphinx/ext/autodoc/directive.py)

@jnothman
Copy link
Member Author

jnothman commented Apr 12, 2018 via email

@jorisvandenbossche
Copy link
Contributor

done, though that prefixing is redundant with registering the logger to the file

Hmm, yes, it seems they only do the [] for debug messages (and some info), and use the location for warnings and errors (at least it looks not fully consistent for somebody who is not familiar with it)

@larsoner larsoner added this to the v0.9.0 milestone Apr 11, 2019
@rgommers
Copy link
Member

from sphinx.util import logging is not present in Sphinx 1.2.3, which failed CI. I'd be fine with bumping the minimum Sphinx version.

@rgommers
Copy link
Member

I tested this locally, LGTM. +1 for merging when CI issue is resolved.

@rgommers rgommers force-pushed the exception-info branch 2 times, most recently from 9e831d5 to 0ebfefe Compare April 21, 2019 15:43
1.6.5 is now 1.5 years old, should be enough.

sphinx.util.logging is not present in 1.2.3, was introduced in 1.6.0;
@rgommers
Copy link
Member

Updated the tested Sphinx versions from latest, 1.2.3 to latest, 1.6.5. TravisCI is happy now, so merging.

@rgommers rgommers merged commit 49fd47d into numpy:master Apr 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants