Skip to content

Convert Py_INCREF() and PyObject_INIT() to inlined functions #79240

@vstinner

Description

@vstinner
BPO 35059
Nosy @mdickinson, @vstinner, @benjaminp, @ericsnowcurrently, @serhiy-storchaka, @zooba, @srinivasreddy, @aaronchall, @pablogsal, @miss-islington
PRs
  • bpo-35059: Convert _Py_NewReference() to function #10076
  • bpo-35059: Convert PyObject_INIT() to function #10077
  • bpo-35059: Convert Py_INCREF() to static inline function #10079
  • bpo-35059: Add Py_STATIC_INLINE() macro #10093
  • bpo-35059 : Add /Ob1 flag when building pythoncore in debug mode #10094
  • Revert "bpo-35059 : Add /Ob1 flag when building pythoncore in debug mode" #10127
  • bpo-35059, libmpdec: Add missing EXTINLINE in mpdecimal.h #10128
  • [3.6] bpo-35059, libmpdec: Add missing EXTINLINE in mpdecimal.h (GH-10128) #10134
  • [3.7] bpo-35059, libmpdec: Add missing EXTINLINE in mpdecimal.h (GH-10128) #10135
  • bpo-35059: Remove Py_STATIC_INLINE() macro #10216
  • bpo-35059: Convert _Py_Dealloc() to static inline function #10223
  • bpo-35059: Convert Py_XINCREF() to static inline function #10224
  • WIP: bpo-35059: _PyThreadState_GET() checks that the GIL is hold #10278
  • bpo-35059: Enhance _PyObject_AssertFailed() #10642
  • bpo-35059: Enhance _PyObject_AssertFailed() #10642
  • bpo-35059: Enhance _PyObject_AssertFailed() #10642
  • bpo-35059: Convert _PyObject_GC_TRACK() to inline function #10643
  • bpo-35059: Convert _PyObject_GC_TRACK() to inline function #10643
  • bpo-35059: Convert _PyObject_GC_TRACK() to inline function #10643
  • bpo-35059: Add _PyObject_CAST() macro #10645
  • bpo-35059: Cleanup load_extension() of _pickle.c #10647
  • bpo-35059: Cleanup usage of Python macros #10648
  • [WIP] bpo-35059: Add assertion to _PyObject_CAST() #10649
  • bpo-35059: Cast void* to PyObject* #10650
  • WIP: bpo-35059: Replace inline with macros #10669
  • bpo-35059: Add NEWS entry #10671
  • bpo-35059: PyObject_INIT() casts to PyObject* #10674
  • bpo-35059: Enhance _PyObject_GC_TRACK() macros #20931
  • Files
  • 2018-11-22_17-38-master-3bb183d7fb83-patch-10669.json.gz
  • 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 2018-11-23.15:26:57.489>
    created_at = <Date 2018-10-24.14:31:56.305>
    labels = ['interpreter-core', '3.8']
    title = 'Convert Py_INCREF() and PyObject_INIT() to inlined functions'
    updated_at = <Date 2021-09-03.13:27:37.824>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2021-09-03.13:27:37.824>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-11-23.15:26:57.489>
    closer = 'vstinner'
    components = ['Interpreter Core']
    creation = <Date 2018-10-24.14:31:56.305>
    creator = 'vstinner'
    dependencies = []
    files = ['47943']
    hgrepos = []
    issue_num = 35059
    keywords = ['patch']
    message_count = 55.0
    messages = ['328367', '328376', '328408', '328416', '328418', '328420', '328421', '328423', '328424', '328426', '328427', '328450', '328514', '328529', '328542', '328543', '328552', '328557', '328570', '328577', '328578', '328622', '328746', '328757', '328759', '328760', '328823', '328829', '328830', '328855', '328857', '328919', '329527', '329842', '330225', '330226', '330229', '330230', '330239', '330302', '330305', '330310', '330314', '330316', '330320', '330321', '330323', '330329', '330330', '330338', '330353', '330363', '330365', '371733', '400991']
    nosy_count = 10.0
    nosy_names = ['mark.dickinson', 'vstinner', 'benjamin.peterson', 'eric.snow', 'serhiy.storchaka', 'steve.dower', 'thatiparthy', 'Aaron Hall', 'pablogsal', 'miss-islington']
    pr_nums = ['10076', '10077', '10079', '10093', '10094', '10127', '10128', '10134', '10135', '10216', '10223', '10224', '10278', '10642', '10642', '10642', '10643', '10643', '10643', '10645', '10647', '10648', '10649', '10650', '10669', '10671', '10674', '20931']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue35059'
    versions = ['Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions