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

Update multiprocessing.spawn to use runpy.run_path #64177

Closed
brettcannon opened this issue Dec 13, 2013 · 3 comments
Closed

Update multiprocessing.spawn to use runpy.run_path #64177

brettcannon opened this issue Dec 13, 2013 · 3 comments
Labels
stdlib Python modules in the Lib dir topic-multiprocessing

Comments

@brettcannon
Copy link
Member

BPO 19978
Nosy @brettcannon, @ncoghlan, @nanjekyejoannah
Dependencies
  • bpo-19697: Document the possible values for main.spec
  • bpo-19946: Handle a non-importable main in multiprocessing
  • bpo-19982: Add a "target" parameter to runpy.run_path and runpy.run_module
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2013-12-13.16:44:41.261>
    labels = ['library']
    title = 'Update multiprocessing.spawn to use runpy.run_path'
    updated_at = <Date 2019-08-06.17:41:06.983>
    user = 'https://github.com/brettcannon'

    bugs.python.org fields:

    activity = <Date 2019-08-06.17:41:06.983>
    actor = 'nanjekyejoannah'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2013-12-13.16:44:41.261>
    creator = 'brett.cannon'
    dependencies = ['19697', '19946', '19982']
    files = []
    hgrepos = []
    issue_num = 19978
    keywords = []
    message_count = 2.0
    messages = ['206117', '349122']
    nosy_count = 5.0
    nosy_names = ['brett.cannon', 'ncoghlan', 'jnoller', 'sbt', 'nanjekyejoannah']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'test needed'
    status = 'open'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue19978'
    versions = ['Python 3.5']

    @brettcannon
    Copy link
    Member Author

    Once the 'target' parameter for runpy.run_path lands then multiprocessing.spawn should be updated to use it.

    @brettcannon brettcannon added the stdlib Python modules in the Lib dir label Dec 13, 2013
    @nanjekyejoannah
    Copy link
    Member

    Working on bpo-19982 is important prior to this.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    @gpshead
    Copy link
    Member

    gpshead commented Dec 13, 2022

    closing as obsolete as runpy.run_path doesn't appear to have that feature. the general concept may have merit but needs someone aware of multiprocessing internals and exact compatibility semantics to decide.

    @gpshead gpshead closed this as not planned Won't fix, can't repro, duplicate, stale Dec 13, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    stdlib Python modules in the Lib dir topic-multiprocessing
    Projects
    Development

    No branches or pull requests

    4 participants