Commit Graph

16 Commits

Author SHA1 Message Date
Nick Coghlan 4c46c57100 PEP 538: Add Barry as BDFL-Delegate 2017-03-10 12:13:53 +10:00
Nick Coghlan a06b7af8fd PEP 538: Fix title and add new post date 2017-03-05 17:35:19 +10:00
Nick Coghlan a20a56ceb5 PEP 538: Update reference implementation (#219)
- updates reference implementation to use PYTHONCOERCECLOCALE
- removes hard dependency on PEP 540
- still notes PEP 540 covers case where no relevant C-with-UTF-8
  locale is available
- clarifies that these settings are still recommended over the
  legacy C locale settings for older Python 3 versions, even if
  we don't recommend backporting the automatic coercion
2017-03-05 17:29:54 +10:00
Nick Coghlan 67346590a7 PEP 538: typo fixes 2017-02-06 15:02:06 +01:00
Nick Coghlan 03b6c20d26 PEP 538: Add missing words 2017-01-21 01:35:51 +11:00
Nick Coghlan 481573aa27 PEP 538: Update to depend on PEP 540
- relies entirely on PEP 540 when no appropriate locale
  is available
- uses surrogateescape on standard streams by default
- accounts for BSD-style UTF-8 locales
- avoids any reliance on the en_US-UTF-8 locale
- makes note of related GNU readline issue on Android
2017-01-21 01:13:24 +11:00
Nick Coghlan 1f1abb3b6a PEP 538: document core design principles
Also provides a bit more background on the rationale for
using "strict" by default on stdin and stdout when coercing
the locale to one based on UTF-8
2017-01-08 11:57:31 +10:00
Nick Coghlan e788aa9084 PEP 538: tweak wording of proposed warnings 2017-01-07 22:20:23 +10:00
Nick Coghlan c2aa424e28 PEP 538: clarify setlocale behaviour in POSIX locale 2017-01-07 22:14:20 +10:00
Nick Coghlan 858909a1d2 PEP 538: Add post history 2017-01-07 22:02:17 +10:00
Nick Coghlan 34d69bad02 PEP 538: cite all 3 common failure modes 2017-01-07 18:19:44 +10:00
Nick Coghlan 61a36c94e2 PEP 538: fix typo 2017-01-07 17:34:51 +10:00
Nick Coghlan 221099d876 PEP 538: update for PEP 540 & linux-sig feedback
- PYTHONALLOWCLOCALE=1 -> PYTHONCOERCECLOCALE=0
- reword the proposed library warning
- try all of C.UTF-8, c.utf8 and en_US.UTF-8
- compare and contrast with PEP 540
- new Motivation section showing specific Docker problems
- discuss implications of "strict" error handling
- define configure options to turn the new behaviour off
2017-01-07 17:08:52 +10:00
Nick Coghlan 6f0928ebfd PEP 538: Clarify rationale for warning wording 2017-01-03 17:47:26 +10:00
Nick Coghlan c99c42e066 PEP 538: add Background section on locale handling 2017-01-03 15:19:37 +10:00
Nick Coghlan 74e5b553e5 PEP 538: coerce legacy C locale to C.UTF-8 2016-12-28 12:31:21 +10:00