forked from sphinx-doc/sphinx
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix sphinx-doc#7802: autodoc: EOFError is raised on parallel build
sphinx-build has crashed with EOFError when autodoc raises a warning having exc_info under parallel mode. In parallel mode, all messages are pickled to transfer logs to parent process. But the warning is not picklable because it contains a traceback object. This removes exc_info from warning messages to prevent crashes.
- Loading branch information
Showing
2 changed files
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters