Skip to content

bpo-38236: Dump path config at first import error#16300

Merged
vstinner merged 1 commit into
python:masterfrom
vstinner:dump_pathconfig
Sep 23, 2019
Merged

bpo-38236: Dump path config at first import error#16300
vstinner merged 1 commit into
python:masterfrom
vstinner:dump_pathconfig

Conversation

@vstinner
Copy link
Copy Markdown
Member

@vstinner vstinner commented Sep 20, 2019

Python now dumps path configuration if it fails to import the Python
codecs of the filesystem and stdio encodings.

https://bugs.python.org/issue38236

@vstinner
Copy link
Copy Markdown
Member Author

See https://bugs.python.org/issue38236#msg352873 for an output example.

Copy link
Copy Markdown
Member

@matrixise matrixise left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this feature, sometimes, I have this error. Need to fix the conflict? Thank you

Python now dumps path configuration if it fails to import the Python
codecs of the filesystem and stdio encodings.
@vstinner vstinner requested a review from a team as a code owner September 23, 2019 11:38
@vstinner vstinner merged commit fcdb027 into python:master Sep 23, 2019
@vstinner vstinner deleted the dump_pathconfig branch September 23, 2019 12:45
@miss-islington
Copy link
Copy Markdown
Contributor

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒⛏🤖

@miss-islington
Copy link
Copy Markdown
Contributor

Sorry, @vstinner, I could not cleanly backport this to 3.8 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker fcdb027234566c4d506d6d753c7d5638490fb088 3.8

@bedevere-bot
Copy link
Copy Markdown

GH-16332 is a backport of this pull request to the 3.8 branch.

vstinner added a commit that referenced this pull request Sep 23, 2019
Python now dumps path configuration if it fails to import the Python
codecs of the filesystem and stdio encodings.

(cherry picked from commit fcdb027)
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.

6 participants