Commit Graph

34 Commits

Author SHA1 Message Date
Recursing d8f315b81a Change "irregardless" to "regardless" (#603)
Most dictionaries list it as nonstandard or incorrect usage, and recommend that "regardless" be used instead.
2018-04-02 11:40:37 -07:00
Barry Warsaw 893f03dce9
Minor typo fix 2018-03-19 15:25:19 -07:00
Victor Stinner b53e0afd68 PEP 540: Fix the abstract
locale => encoding
2018-01-27 03:42:08 +01:00
Victor Stinner 0c70f909df PEP 540: set status to Final
The implementation is now complete.
2018-01-18 12:36:29 +01:00
Victor Stinner 2885e7572d PEP 540: Fix reST formatting 2018-01-15 14:18:34 +01:00
Victor Stinner 40a9e6f4b3 PEP 540: truncate to 72 columns 2017-12-11 10:13:43 +01:00
larryhastings 2f52641e11 Clean up / clarify grammar in PEP 540. (#498)
* Clean up / clarify grammar in PEP 540.

* Fix RST errors, slightly enhance grammar.
2017-12-11 10:02:20 +01:00
Victor Stinner ddb198d073 PEP 540: Accepted by Naoki 2017-12-10 18:56:20 +01:00
Victor Stinner 08224bf6bd PEP 540: The UTF-8 Mode 2017-12-10 18:52:56 +01:00
Victor Stinner 71cda51fbb PEP 540: Fix effects of the PEP 538 2017-12-10 18:18:26 +01:00
Victor Stinner 09022d3f72 PEP 540: getpreferredencoding() returns UTF-8
* List explicitly effects of the UTF-8 mode, but also "side effects"
* Add a new "Relationship with the locale coercion (PEP 538)" section
* Add a new "Version History" section
2017-12-08 16:13:31 +01:00
Victor Stinner 366c82f00c PEP 540: Remove the strict mode 2017-12-08 01:43:42 +01:00
Victor Stinner 22b31e0e82 PEP 540: open() error handler remains strict 2017-12-08 01:36:37 +01:00
Nick Coghlan 690d32cd84 PEP 540: Update based on PEP 538 experience (#493)
* PEP 540: Update based on PEP 538 experience

- CentOS 7 is a better example of problems than Alpine Linux
  (default locale is C/POSIX, C.UTF-8 isn't available for coercion)
- reword the annex discussing the design trade-offs between
  PEP 538's locale coercion and PEP 540's introduction of a
  UTF-8 specific mode

* Tweak wording of PEP 538 comparison
2017-12-06 10:48:45 +01:00
Victor Stinner d7a3a67a38 PEP 540: Remove Alpine Linux
Alpine Linux uses C.UTF-8 locale by default, not the POSIX locale.
2017-12-06 03:06:09 +01:00
Victor Stinner 0bb19ff93a Rewrite the PEP 540! 2017-12-06 01:44:32 +01:00
Victor Stinner f92b5fbdc2 PEP 540: fix two typos 2017-12-05 16:41:21 +01:00
Victor Stinner 75eac2d3bf PEP 540: truncate to 72 columns 2017-12-05 16:39:51 +01:00
Victor Stinner 7a7072cf9f PEP 540: Add Post History section 2017-12-05 16:24:40 +01:00
Victor Stinner cef853f646 PEP 540: Apply Nick Coghlan's PR #201
I applied it manually since another PR was merged in the meanwhile.
2017-12-05 16:21:59 +01:00
Mariatta cf3bad5ab3
Revert "Rename all .txt PEP files to .rst (GH-462)" (GH-464)
This reverts commit bb0e518ed3.
2017-11-11 11:28:55 -08:00
Huang Huang bb0e518ed3 Rename all .txt PEP files to .rst (GH-462)
For https://github.com/python/peps/issues/1
2017-11-11 10:30:43 -08:00
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