Skip to content

Clean up multiprocessing + shared_memory #3351

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 5 commits into from
Oct 14, 2019

Conversation

srittau
Copy link
Collaborator

@srittau srittau commented Oct 12, 2019

  • Add multiprocessing.process.BaseProcess
  • Use BaseProcess in multiprocessing.context where applicable
  • Remove non-existing BaseContext.Process()
  • Derive DefaultContext from BaseContext
  • Fix BaseContext/DefaultContext.set_start_method() signatures
  • Re-export multiprocessing.context.Process from multiprocessing,
    instead of using a custom definition
  • Re-export multiprocessing.active_from from multiprocessing.process
    instead of using a custom definition
  • Complete multiprocessing.managers.BaseManager and add Server
  • Add parent_process (Python 3.8)
  • Add multiprocessing.shared_memory,
    multiprocessing.managers.SharedMemoryServer and
    multiprocessing.managers.SharedMemoryManager

Note to reviewer: It might be easier to review the commits individually.

Part of #3319

* Add multiprocessing.process.BaseProcess
* Use BaseProcess in multiprocessing.context where applicable
* Remove non-existing BaseContext.Process()
* Derive DefaultContext from BaseContext
* Fix BaseContext/DefaultContext.set_start_method() signatures
* Re-export multiprocessing.context.Process from multiprocessing,
  instead of using a custom definition
* Re-export multiprocessing.active_from from multiprocessing.process
  instead of using a custom definition
@srittau srittau merged commit 6b55f5c into python:master Oct 14, 2019
@srittau srittau deleted the python3.8-multiprocessing branch October 14, 2019 07:54
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.

2 participants