Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

[WIP] bpo-36301: Add _Py_PreInitialize() function#12351

Closed
vstinner wants to merge 1 commit intopython:masterfrom
vstinner:py_preinitialize
Closed

[WIP] bpo-36301: Add _Py_PreInitialize() function#12351
vstinner wants to merge 1 commit intopython:masterfrom
vstinner:py_preinitialize

Conversation

@vstinner
Copy link
Member

@vstinnervstinner commentedMar 15, 2019
edited by bedevere-bot
Loading

Add also _PyRuntimeState.preconfig field. _PyPreConfig_Write() now
writes the applied pre-configuration into _PyRuntimeState.preconfig.

https://bugs.python.org/issue36301

* Add _PyRuntimeState.preconfig field. _PyPreConfig_Write() now  writes the applied pre-configuration into _PyRuntimeState.preconfig.* Add _Py_PreInitialize() and _Py_PreInitializeFromPreConfig()  functions* _PyCoreConfig_Read() now calls _Py_PreInitialize() to ensure that  Python is pre-configured. It reads the pre-configuration from  _PyRuntime.
@vstinnervstinner changed the titlebpo-36301: Add _Py_PreInitialize() function[WIP] bpo-36301: Add _Py_PreInitialize() functionMar 18, 2019
@vstinner
Copy link
MemberAuthor

I'm not sure about this change. I experimented a different implementation in local branches. I need more time to think about the overall API and how it is supposed to work.

@vstinner
Copy link
MemberAuthor

This PR combines too many changes. I wrote PR#12457 which is shorter and so less risky.

@vstinnervstinner deleted the py_preinitialize branchMarch 20, 2019 01:00
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@vstinner@the-knights-who-say-ni@bedevere-bot

Comments


[8]ページ先頭

©2009-2026 Movatter.jp