Skip to content

AttributeError when calling ._target on Process objects (multiprocessing) after starting Process #104356

Closed
@Carson-Bay

Description

@Carson-Bay

Bug report

The process object just after creation has an Attribute _target that returns the function object that was passed into the initialization. After calling start() this Attribute seems to disappear and is not longer available resulting in AttirbuteError.

Your environment

  • CPython versions tested on: Python 3.8.10 and 3.12.0a7
  • Operating system and architecture: 5.10.16.3-microsoft-standard-WSL2 Ubuntu and Windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    pendingThe issue will be closed if no feedback is provided

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions