Skip to content

Convert static types to heap types: use PyType_FromSpec() #84258

@corona10

Description

@corona10
BPO 40077
Nosy @pitrou, @vstinner, @phsilva, @encukou, @skrah, @ericsnowcurrently, @serhiy-storchaka, @corona10, @pablogsal, @miss-islington, @shihai1991, @erlend-aasland, @h-vetinari, @nw0, @kumaraditya303, @CharlieZhao95
PRs
  • bpo-40077: Convert _jsonmodule to use PyType_FromSpec. #19177
  • bpo-40077: Convert _abc module to use PyType_FromSpec() #19202
  • [WIP] bpo-40077: Convert _bz2 extension module to use PyType_FromSpec() #19341
  • bpo-40077: Fix potential refleaks of _json #19344
  • bpo-40077: Remove redundant cast in _json extension module #19438
  • bpo-40077: Convert _bz2 module to use PyType_FromSpec #20960
  • bpo-40077: Convert _csv module to use PyType_FromSpec  #20974
  • bpo-40077: Convert _operaator to use PyType_FromSpec #21953
  • bpo-40077: Convert _operator to use PyType_FromSpec #21954
  • bpo-40077: Convert mmap to use heap types #23108
  • bpo-40077: Convert arraymodule to use heap types and establish module state #23124
  • bpo-40077: Convert _queuemodule to use heap types #23136
  • bpo-40077: Convert _elementtree types to heap types #23428
  • bpo-42327: Add PyModule_Add() (smaller). #23443
  • bpo-40077: Fix typo in simplequeue_get_state_by_type() #23975
  • bpo-40077: Convert itertools types to heap types #24065
  • bpo-40077: Add traverse/clear/free to arraymodule #24066
  • bpo-40077: Convert zoneinfo type to heap type #24481
  • bpo-40077: Convert _pickle module to use heap types. #30884
  • Files
  • bench_isinstance_check.py
  • bench_subclass_check.py
  • bench_isinstance_check.py
  • 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-03-26.16:04:44.633> labels = ['extension-modules', 'type-feature', '3.10'] title = 'Convert static types to heap types: use PyType_FromSpec()' updated_at = <Date 2022-02-02.05:50:10.693> user = 'https://github.com/corona10'

    bugs.python.org fields:

    activity = <Date 2022-02-02.05:50:10.693> actor = 'kumaraditya' assignee = 'none' closed = False closed_date = None closer = None components = ['Extension Modules'] creation = <Date 2020-03-26.16:04:44.633> creator = 'corona10' dependencies = [] files = ['49007', '49008', '49009'] hgrepos = [] issue_num = 40077 keywords = ['patch'] message_count = 47.0 messages = ['365087', '365088', '365117', '365125', '365142', '365145', '365149', '365154', '365205', '365220', '365241', '365242', '365255', '365257', '365317', '365558', '365773', '366024', '366061', '368669', '371120', '371813', '371890', '372073', '372074', '372076', '372326', '375943', '380109', '380267', '380516', '380517', '380518', '383848', '383908', '384228', '384236', '384271', '384272', '384293', '410810', '411630', '411903', '411904', '411907', '411964', '412338'] nosy_count = 16.0 nosy_names = ['pitrou', 'vstinner', 'phsilva', 'petr.viktorin', 'skrah', 'eric.snow', 'serhiy.storchaka', 'corona10', 'pablogsal', 'miss-islington', 'shihai1991', 'erlendaasland', 'h-vetinari', 'nw0', 'kumaraditya', 'CharlieZhao'] pr_nums = ['19177', '19202', '19341', '19344', '19438', '20960', '20974', '21953', '21954', '23108', '23124', '23136', '23428', '23443', '23975', '24065', '24066', '24481', '30884'] priority = 'normal' resolution = None stage = 'patch review' status = 'open' superseder = None type = 'enhancement' url = 'https://bugs.python.org/issue40077' versions = ['Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.12only security fixesextension-modulesC modules in the Modules dirtype-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions