Skip to content

[C API] Clean-up the Python.h header file #89597

@vstinner

Description

@vstinner
BPO 45434
Nosy @Yhg1s, @vstinner, @corona10
PRs
  • bpo-45434: Clean-up Python.h header file #28883
  • bpo-45434: Python.h no longer includes <stdlib.h> #28888
  • bpo-45434: Convert Py_GETENV() macro to a function #28912
  • bpo-45434: bytearrayobject.h no longer includes <stdarg.h> #28913
  • bpo-45434: pyport.h no longer includes <stdlib.h> #28914
  • bpo-45434: Move _Py_BEGIN_SUPPRESS_IPH to pycore_fileutils.h #28922
  • bpo-45434: Remove pystrhex.h header file #28923
  • bpo-45434: Mark the PyTokenizer C API as private #28924
  • bpo-45434: Limited Python.h no longer includes stdio.h #28960
  • bpo-45434: Remove useless space in includes #28963
  • bpo-45434: Remove Include/eval.h header file #28973
  • bpo-45434: Include stdlib.h for specialize stat #29015
  • bpo-45434: Only exclude <stdlib.h> in Python 3.11 limited C API #29027
  • 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 = <Date 2021-10-19.15:01:04.891>
    created_at = <Date 2021-10-11.20:08:05.746>
    labels = ['expert-C-API', '3.11']
    title = '[C API] Clean-up the Python.h header file'
    updated_at = <Date 2021-10-19.15:01:04.890>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2021-10-19.15:01:04.890>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-10-19.15:01:04.891>
    closer = 'vstinner'
    components = ['C API']
    creation = <Date 2021-10-11.20:08:05.746>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 45434
    keywords = ['patch']
    message_count = 19.0
    messages = ['403675', '403684', '403689', '403775', '403785', '403829', '403831', '403841', '403842', '403843', '403859', '403940', '403959', '403963', '404002', '404162', '404170', '404172', '404283']
    nosy_count = 3.0
    nosy_names = ['twouters', 'vstinner', 'corona10']
    pr_nums = ['28883', '28888', '28912', '28913', '28914', '28922', '28923', '28924', '28960', '28963', '28973', '29015', '29027']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue45434'
    versions = ['Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions