Commit Graph

12 Commits

Author SHA1 Message Date
Jim Fasarakis-Hilliard ae226965ea Fix a couple of issues with pep0540 (#252) 2017-05-08 15:24:28 -07:00
Nick Coghlan de15fb533c Update BDFL delegations for PEPs 538 & 540
- Barry stepping down due to lack of time
- Naoki Inada will handle both PEPs due to
  the significant overlap between them
2017-04-24 14:33:34 +10:00
Victor Stinner 0966f373b6 PEP 540: don't mention locale.getpreferredencoding
Replace locale.getpreferredencoding() with "locale encoding" to avoid
confusion.
2017-02-09 14:01:43 +01:00
Victor Stinner b9a2a993fe Update 540 for Windows
Describe encodings and error handlers used on Windows and the
priority of PYTHONLEGACYWINDOWSFSENCODING.
2017-01-12 13:32:06 +01:00
Victor Stinner 0e107f280c PEP 540
Add examples for the "List a directory into stdout" use case.
2017-01-11 22:32:24 +01:00
Victor Stinner 1b6b889ed6 PEP 540
* Strict mode doesn't use strict for OS data anymore: keep
  surrogateesscape, explain why in a new alternative
* Define the priority between env vars and cmdline options to choose
  encodings and error handlers
2017-01-11 22:11:42 +01:00
Victor Stinner 4ba2196903 PEP 540: add link to the implementation 2017-01-11 12:30:36 +01:00
Thomas Samson a525758390 PEP 540: correcting english errors 2017-01-09 09:49:11 +01:00
Victor Stinner 9807b217f8 PEP 540
* add section: "It's not a bug, you must fix your locale" is not an
  acceptable answer
* elaborate the "Expected mojibake and surrogate character issues"
  section
* Add the "Producer-consumer model using pipes" use case
2017-01-07 03:05:50 +01:00
Victor Stinner 3c6b56f10c PEP 540
* Add "POSIX locale used by mistake" section
* Add a lot of issues in the Links section
2017-01-06 13:58:57 +01:00
Victor Stinner 5b6b25f5d9 Update PEP 540
* Enable UTF-8 mode by default if the locale is POSIX
* Add Use Cases
* Add "Don't modify the encoding of the POSIX locale" alternative
* Rephase Abstract and Proposal
* Proposal: mention expected mojibake issues
* Fix PEP number: 393 => 383
* Add links
2017-01-06 02:27:42 +01:00
Victor Stinner 9780f3ab43 Add PEP 540: Add a new UTF-8 mode 2017-01-05 16:08:52 +01:00