Skip to content

Remove _Py_InitializeMain() private function #129033

Closed
@vstinner

Description

@vstinner

PEP 587 "Python Initialization Configuration" added a "Multi-Phase Initialization Private Provisional API":

The plan was to make the "core phase" more usable. But since Python 3.8, Python doesn't use this "Multi-Phase Initialization" API and I failed to find any user in 3rd party code.

I propose to remove this API in Python 3.14 without any deprecation since the feature was provisional and it's a private API.

Provisional:

A provisional API is one which has been deliberately excluded from the standard library’s backwards compatibility guarantees.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions