Skip to content

[C API] Convert a few stdlib extensions to the limited C API (PEP 384) #85283

Closed
@vstinner

Description

@vstinner

Discussion: https://discuss.python.org/t/use-the-limited-c-api-for-some-of-our-stdlib-c-extensions/32465

BPO 41111
Nosy @freddrake, @smontanaro, @rhettinger, @vstinner, @tiran, @encukou, @pmp-p, @ericsnowcurrently, @corona10, @shihai1991
PRs
  • bpo-41111: Move the Py_LIMITED_API macro of xxlimited module from setup.py to xxlimited.c. #25115
  • bpo-41111: xxlimited.c defines Py_LIMITED_API #25151
  • bpo-41111: Build limited C API without Py_TRACE_REFS macro. #25180
  • gh-85283: Extending Argument Clinic to support to use the limited C API. #26080
  • 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 2020-06-25.08:54:20.867> labels = ['extension-modules', 'expert-C-API', '3.11'] title = '[C API] Convert a few stdlib extensions to the limited C API (PEP 384)' updated_at = <Date 2022-02-17.16:21:09.570> user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2022-02-17.16:21:09.570> actor = 'eric.snow' assignee = 'none' closed = False closed_date = None closer = None components = ['Extension Modules', 'C API'] creation = <Date 2020-06-25.08:54:20.867> creator = 'vstinner' dependencies = [] files = [] hgrepos = [] issue_num = 41111 keywords = ['patch'] message_count = 27.0 messages = ['372307', '372309', '372310', '372311', '372315', '372316', '372321', '372324', '372325', '372327', '372332', '372386', '376506', '376507', '380415', '389925', '389959', '390068', '390159', '390161', '390179', '390326', '390333', '390389', '393541', '393635', '393640'] nosy_count = 11.0 nosy_names = ['fdrake', 'skip.montanaro', 'rhettinger', 'gustavo', 'vstinner', 'christian.heimes', 'petr.viktorin', 'pmpp', 'eric.snow', 'corona10', 'shihai1991'] pr_nums = ['25115', '25151', '25180', '26080'] priority = 'normal' resolution = None stage = 'patch review' status = 'open' superseder = None type = None url = 'https://bugs.python.org/issue41111' versions = ['Python 3.11']

    Linked PRs

    Metadata

    Metadata

    Assignees

    No one assigned

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions