-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
bpo-30256: pass all BaseProxy arguments through AutoProxy #4819
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
Conversation
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA). Unfortunately we couldn't find an account corresponding to your GitHub username on bugs.python.org (b.p.o) to verify you have signed the CLA (this might be simply due to a missing "GitHub Name" entry in your b.p.o account settings). This is necessary for legal reasons before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. Thanks again to your contribution and we look forward to looking at it! |
I signed the CLA (over a month ago) and my bpo account reflects that, however @the-knights-who-say-ni has not updated yet. |
When will this get merged ? |
I stumbled upon this problem, too: https://stackoverflow.com/questions/56716470/python-multiprocessing-nested-shared-objects-doesnt-work-with-queue Right now, Python docs state
These changes have been introduced with https://hg.python.org/cpython/rev/39e7307f9aee along with some tests. However, the tests only use nested So maybe this PR should add tests for Update: Some tests have been added with #16341 |
@uSpike could you add an entry to Misc/News.d/next for this issue? maybe it get merged when CI is fine |
Hey I just want to say that this patch fixed my issue. |
aacc4ba
to
2cc5894
Compare
@brandtbucher I've added a NEWS entry. |
Awesome, thanks for this @uSpike. And welcome to CPython! |
Any update on this one? Feels like a very easy fix :) @applio around for a quick approval? |
Gentle bump? This PR has been open for 2.5 years, it's a trivial change, and I'd love to be a contributor! I really don't want to miss the window for 3.9. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update : I was wondering it a test exists and I saw the test here : #16341 sorry.
When testing this fix, this post on StackOverflow suggests they experienced a seg fault: https://stackoverflow.com/questions/56716470/multiprocessing-manager-nested-shared-objects-doesnt-work-with-queue Has this been investigated and resolved? |
I was not able to reproduce any seg faults with this patch |
I tried this patch and I did not get any segfaults. Would be nice if this could get fixed into python 3.9. My system: |
I'm also unable to reproduce any seg faults in 3.7.5 on Ubuntu 20.04. I may be wrong, but I think the stackoverflow message that @applio is referencing is not suggesting that this patch causes a seg fault. The code he says "works" is the same as this patch. |
I'm closing this in favor of #16341 |
The AutoProxy method did not accept the "manager_owned" keyword argument which broke when nested AutoProxy objects were created.
https://bugs.python.org/issue30256