GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||
GeezerVison is showing github.com — [WIP] bpo-37214: Add a new EncodingWarning warning category by vstinner · Pull Request #13938 · python/cpython Conversation
|
|
@methane: What do you think of this approach? Does it make any sense to have an opt-in warning? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
No. Warning everytime when encoding is omitted was @zooba 's suggestion. But he opposite to change default encoding strongly. In PEP 597 (2nd), I am proposing adding more option. macOS user can test their code easily with Anyway, I'm thinking about advertising your UTF-8 mode. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Ok. I may keep this PR open to show that always emit a warning can be a bad idea :-) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
I wrote this PR to discuss https://www.python.org/dev/peps/pep-0597/ but it's unrelated to the implementation of this PEP :-) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I abandon this PR. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Copied from python#13938
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.