Author vstinner
Recipients vstinner, xiang.zhang
Date 2018-12-03.15:21:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1543850461.43.0.788709270274.issue31473@psf.upfronthosting.co.za>
In-reply-to
Content
By the way, the previous attempt to add _PyRuntime.mem had to be reverted. See bpo-32096, bpo-30860 and the commit:

commit 9e87e7776f7ace66baaf7247233afdabd00c2b44
Author: Victor Stinner <victor.stinner@gmail.com>
Date:   Fri Nov 24 12:09:24 2017 +0100

    bpo-32096: Remove obj and mem from _PyRuntime (#4532)
    
    bpo-32096, bpo-30860:  Partially revert the commit
    2ebc5ce42a8a9e047e790aefbf9a94811569b2b6:
    
    * Move structures back from Include/internal/mem.h to
      Objects/obmalloc.c
    * Remove _PyObject_Initialize() and _PyMem_Initialize()
    * Remove Include/internal/pymalloc.h
    * Add test_capi.test_pre_initialization_api():
       Make sure that it's possible to call Py_DecodeLocale(), and then call
       Py_SetProgramName() with the decoded string, before Py_Initialize().
    
    PyMem_RawMalloc() and Py_DecodeLocale() can be called again before
    _PyRuntimeState_Init().
    
    Co-Authored-By: Eric Snow <ericsnowcurrently@gmail.com>
History
Date User Action Args
2018-12-03 15:21:01vstinnersetrecipients: + vstinner, xiang.zhang
2018-12-03 15:21:01vstinnersetmessageid: <1543850461.43.0.788709270274.issue31473@psf.upfronthosting.co.za>
2018-12-03 15:21:01vstinnerlinkissue31473 messages
2018-12-03 15:21:01vstinnercreate