Skip to content

[2.7] Fix multiprocessing docs' list of exceptions #6647

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 2 commits into from
Apr 30, 2018

Conversation

bbayles
Copy link
Contributor

@bbayles bbayles commented Apr 30, 2018

The docs for Python 2.7's multiprocessing module say:

The module defines two exceptions:

.. exception:: AuthenticationError

   Exception raised when there is an authentication error.

It's a bit odd to say there are two, and then write about one. It's even more odd when you look at the module and find there are four.

This PR adds definitions for ProcessError, BufferTooShort, and TimeoutError, which come from the 3.x docs. AFAICT they apply, modulo the detail about BufferTooShot returning a bytes string. I've left that clause out.

I believe this PR should be tagged with skip news and type-documentation?

Ref: #6223 and #6646

Copy link
Member

@serhiy-storchaka serhiy-storchaka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@serhiy-storchaka serhiy-storchaka merged commit 07c3a61 into python:2.7 Apr 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip issue skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants