Skip to content

Remove deprecated C API objects slated for removal in 3.15 #133644

Open
@picnixz

Description

@picnixz

Proposal:

This issue serves as a tracker for removing the following parts of the C API:

  • Global configuration variables: #133654
  • Process-wide parameters: #133661
  • PyImport_ImportModuleNoBlock: #133655
  • PyWeakref_GetObject and PyWeakref_GET_OBJECT: #133657
  • Functions to configure Python's initialization (PySys_Set* & co)
  • Py_UNICODE_WIDE and Py_UNICODE type

Tracked separately:

I'll take care of doing the other deprecation removals and update c-api-pending-removal-in-3-15.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

Metadata

Metadata

Assignees

Labels

3.15new features, bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)topic-C-API

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions