Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bpo-35713: Split _Py_InitializeCore into subfunctions #11650

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 22, 2019
Merged

bpo-35713: Split _Py_InitializeCore into subfunctions #11650

merged 1 commit into from
Jan 22, 2019

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jan 22, 2019

  • Split _Py_InitializeCore_impl() into subfunctions: add multiple pycore_init_xxx() functions
  • Preliminary sys.stderr is now set earlier to get an usable
    sys.stderr ealier.
  • Move code into _Py_Initialize_ReconfigureCore() to be able to call
    it from _Py_InitializeCore().
  • Split _PyExc_Init(): create a new _PyBuiltins_AddExceptions()
    function.
  • Call _PyExc_Init() earlier in _Py_InitializeCore_impl()
    and new_interpreter() to get working exceptions earlier.
  • _Py_ReadyTypes() now returns _PyInitError rather than calling
    Py_FatalError().
  • Misc code cleanup

https://bugs.python.org/issue35713

* Split _Py_InitializeCore_impl() into subfunctions: add multiple pycore_init_xxx() functions
* Preliminary sys.stderr is now set earlier to get an usable
  sys.stderr ealier.
* Move code into _Py_Initialize_ReconfigureCore() to be able to call
  it from _Py_InitializeCore().
* Split _PyExc_Init(): create a new _PyBuiltins_AddExceptions()
  function.
* Call _PyExc_Init() earlier in _Py_InitializeCore_impl()
  and new_interpreter() to get working exceptions earlier.
* _Py_ReadyTypes() now returns _PyInitError rather than calling
  Py_FatalError().
* Misc code cleanup
@vstinner vstinner merged commit 6d43f6f into python:master Jan 22, 2019
@vstinner vstinner deleted the pyexc_init branch April 29, 2019 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.