Skip to content
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

bpo-30301: Fix AttributeError when using SimpleQueue.empty() under *spawn* and *forkserver* start methods #1601

Merged
merged 5 commits into from
May 17, 2017

Conversation

zhangyangyu
Copy link
Member

No description provided.

@zhangyangyu zhangyangyu added type-bug An unexpected behavior, bug, or error needs backport to 3.5 labels May 16, 2017
@mention-bot
Copy link

@zhangyangyu, thanks for your PR! By analyzing the history of the files in this pull request, we identified @benjaminp, @shibturn and @cf-natali to be potential reviewers.

@zhangyangyu zhangyangyu changed the title bpo-30301: Fix AttributeError when using SimpleQueue.empty() under *spawn* start method bpo-30301: Fix AttributeError when using SimpleQueue.empty() under *spawn* and *forkserver* start methods May 17, 2017
@zhangyangyu zhangyangyu merged commit 6f75bc0 into python:master May 17, 2017
@zhangyangyu zhangyangyu deleted the bpo-30301 branch May 17, 2017 13:04
zhangyangyu added a commit to zhangyangyu/cpython that referenced this pull request May 17, 2017
…1601)

Under *spawn* and *forkserver* start methods, SimpleQueue.empty() could
raise AttributeError due to not setting _poll in __setstate__.
zhangyangyu added a commit to zhangyangyu/cpython that referenced this pull request May 17, 2017
…1601)

Under *spawn* and *forkserver* start methods, SimpleQueue.empty() could
raise AttributeError due to not setting _poll in __setstate__.
zhangyangyu added a commit that referenced this pull request May 17, 2017
…1627)

Under *spawn* and *forkserver* start methods, SimpleQueue.empty() could
raise AttributeError due to not setting _poll in __setstate__.
zhangyangyu added a commit that referenced this pull request May 17, 2017
…1628)

Under *spawn* and *forkserver* start methods, SimpleQueue.empty() could
raise AttributeError due to not setting _poll in __setstate__.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants