Skip to content

[3.13] gh-151253: Dump the Python path configuration on _PyCodec_InitRegistry() failure (#151250) (#151269) (#151283)#151287

Merged
vstinner merged 1 commit into
python:3.13from
vstinner:codec_initregistry13
Jun 10, 2026
Merged

[3.13] gh-151253: Dump the Python path configuration on _PyCodec_InitRegistry() failure (#151250) (#151269) (#151283)#151287
vstinner merged 1 commit into
python:3.13from
vstinner:codec_initregistry13

Conversation

@vstinner

Copy link
Copy Markdown
Member

[3.15] gh-151253: Dump the Python path configuration on _PyCodec_InitRegistry() failure (#151250) (#151269)

gh-151253: Dump the Python path configuration on _PyCodec_InitRegistry() failure (#151250)

If "import encodings" fails at Python startup, dump the Python path configuration to help users debugging their configuration. The encodings module is the first module imported during Python startup.

(cherry picked from commit 7b6e989) (cherry picked from commit 10f616c) (cherry picked from commit b3a7758)

…PyCodec_InitRegistry() failure (python#151250) (python#151269) (python#151283)

[3.15] pythongh-151253: Dump the Python path configuration on _PyCodec_InitRegistry() failure (python#151250) (python#151269)

pythongh-151253: Dump the Python path configuration on _PyCodec_InitRegistry() failure (python#151250)

If "import encodings" fails at Python startup, dump the Python path
configuration to help users debugging their configuration. The
encodings module is the first module imported during Python startup.

(cherry picked from commit 7b6e989)
(cherry picked from commit 10f616c)
(cherry picked from commit b3a7758)
@vstinner vstinner merged commit db9e755 into python:3.13 Jun 10, 2026
42 checks passed
@vstinner vstinner deleted the codec_initregistry13 branch June 10, 2026 21:24
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.

1 participant