Skip to content

bpo-36142: _PyPreConfig_Write() sets the allocator#12186

Merged
vstinner merged 1 commit intopython:masterfrom
vstinner:preparse12
Mar 5, 2019
Merged

bpo-36142: _PyPreConfig_Write() sets the allocator#12186
vstinner merged 1 commit intopython:masterfrom
vstinner:preparse12

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Mar 5, 2019

  • _PyPreConfig_Write() now sets the memory allocator.
  • _PyPreConfig_Write() gets a return type: _PyInitError.
  • _Py_InitializeCore() now reads and writes the pre-configuration
    (set the memory allocator, configure the locale) before reading and
    writing the core configuration.

https://bugs.python.org/issue36142

* _PyPreConfig_Write() now sets the memory allocator.
* _PyPreConfig_Write() gets a return type: _PyInitError.
* _Py_InitializeCore() now reads and writes the pre-configuration
  (set the memory allocator, configure the locale) before reading and
  writing the core configuration.
@vstinner vstinner merged commit 7d2ef3e into python:master Mar 5, 2019
@vstinner vstinner deleted the preparse12 branch March 5, 2019 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants