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
Eric V. Smith
b46be0d897
Add a paragraph describing another rational for using InitVar pseudo-fields.
2017-12-08 03:05:16 -05:00
Eric V. Smith
4b33897304
Add an early example of a mutable type inspired by namedtuple.
2017-12-08 02:59:10 -05: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
Eric Snow
3b263c0ae1
PEP 554: Push the PEP back to 3.8. ( #497 )
2017-12-07 14:07:44 -07:00
Dustin Ingram
316d95b11a
PEP 566: Address RFC feedback, typos ( #495 )
2017-12-06 10:48:24 -08:00
Eric Snow
99d92e2813
PEP 554: Fix the examples. ( #496 )
2017-12-06 10:06:56 -07:00
Nicola Soranzo
8c96ef61a6
PEP 556: Fix typo in the word 'package'. (GH-494)
2017-12-06 07:41:52 -08:00
Nick Coghlan
df92d74351
PEP 566: Nominate Daniel Holth as BDFL-Delegate
2017-12-07 00:28:38 +10: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
Nick Coghlan
6e93c8d2e6
PEP 565: mention warnings.hide_warnings proposal
2017-12-06 14:48:36 +10:00
Eric Snow
fb6cdf64c3
PEP 554: Address Feedback. ( #492 )
...
* cleanup
* resolve open questions
* add "is_shareable()"
2017-12-05 19:16:00 -07: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
Ned Deily
4d5b9d45c6
Updates for 3.7.0a3
2017-12-05 20:14:51 -05:00
Victor Stinner
0bb19ff93a
Rewrite the PEP 540!
2017-12-06 01:44:32 +01:00
Lukasz Langa
cfa69b62a1
[pep 563] Accepted
2017-12-05 14:07:49 -08: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
Dustin Ingram
7d181dc76d
Metadata for Python Software Packages 1.3 ( #490 )
2017-12-05 16:42:10 +10:00
Michael Laing
c276a04e3b
Pep 508 parser fixes ( #443 )
...
Fix 1 bug. Enhance handling of trailing whitespace for URLs. Correct spelling.
Add tests.
2017-12-04 15:41:34 -08:00
Richard Eames
f1252a2f4e
Fixed missing ")" ( #489 )
2017-12-04 13:49:39 -08:00
Eric V. Smith
0f007b78a8
Added PEP 557 to the 3.7 release PEP.
2017-12-04 15:40:30 -05:00
Guido van Rossum
9504eb96c8
Fix typo in abstract (extra 'a')
2017-12-04 11:33:39 -08:00
Victor Stinner
21ed60fb06
Guido accepted the PEP 557
2017-12-04 18:52:19 +01:00
Victor Stinner
a87417b22b
Guido accepted the PEP 562
...
Fix also a typo in the abstract: remove "+".
2017-12-04 18:44:33 +01:00
Oleg Broytman
0a95404c6d
Post-History should include dates of postings to python-ideas ( #444 )
...
Discussions-To should point to python-ideas.
Fixes #440 .
2017-12-04 08:49:44 -08:00
Guido van Rossum
e7fea64f2b
Add links to PEP 563. ( #451 )
...
Mention an updated schedule for non-provisional status and the end of
non-typing annotations in PEP 563, and link there for the __future__
statement as well.
2017-12-04 08:46:27 -08:00
JR Heard
9873d9fb19
typo fix for pep 544 ( #482 )
2017-12-04 08:44:14 -08:00
Eric V. Smith
6b32e0d8ae
Add note about non-PEP 8 compliant function names.
2017-12-04 05:37:26 -05:00
Eric V. Smith
57ccf32901
Merge branch 'master' of github.com:python/peps
2017-12-03 09:44:40 -05:00
Eric V. Smith
2d95971d98
Change return value of fields() from a list to a tuple.
2017-12-03 09:44:19 -05:00
Nick Coghlan
966dd42678
PEP 505: fix rationale for rejecting `f?()` syntax
2017-12-03 12:37:04 +10:00
Eric V. Smith
5aea6ec4ac
Change the default for order to be False.
...
See https://github.com/ericvsmith/dataclasses/issues/104 for discussion.
2017-12-02 08:55:08 -05:00
Eric V. Smith
dba3334a07
Removed isdataclass().
2017-12-01 07:57:12 -05:00
Eric V. Smith
87d7bd9fc3
Fix markup for plurals.
2017-11-30 16:57:25 -05:00
Mariatta
70ed6ad17e
Fix markup in PEP 557. (GH-487)
2017-11-30 13:13:59 -08:00
James Ray
20b7e48120
Remove "XXX Mention docstrings of 2.2 properties." ( #486 )
...
See https://github.com/python/peps/issues/484 for details.
2017-11-30 10:48:08 -08:00
Eric V. Smith
98e48b8c51
Fix typos.
2017-11-30 08:22:07 -05:00
Eric V. Smith
2074efb171
Hopefully the final set of edits.
2017-11-29 18:21:12 -05:00
Chris Angelico
2a00e91583
Fix typo
2017-11-30 05:29:34 +11:00
Nick Coghlan
181cc79af9
Defer None-aware operator related PEPs
...
Neither of the authors of these PEPs are currently actively
championing them, and offering dedicated constructs for
working with partially structured hierarchical data is
still a relatively novel programming language design concept
in general.
Since there's no harm in waiting for more feedback and ideas,
deferring them for potential future consideration seems like a
good option for now.
2017-11-29 19:46:18 +10:00
Nick Coghlan
5686cccb80
PEP 565: Minor fixes to PEP text
2017-11-29 19:43:46 +10:00
Nick Coghlan
47ea35f051
PEP 565: Reword an awkward sentence
2017-11-28 20:57:03 +10:00
Nick Coghlan
aaa64f53d0
PEP 565: Address Guido & Serhiy's comments
...
- note advice for test runners in abstract
- add explicit sections for test runner and
interactive shell guidance
- simplify the warning category descriptions
by moving the test runner details to their
new section
- make it clear FutureWarning is gaining a
second use case, while also keeping its old
one
- note that IPython already follows the new
guidance for interactive shells (and use
their approach as an example)
- reword the advice for library and framework
authors wanting seeking noisier compatibility
warnings on earlier Python versions
2017-11-28 20:26:52 +10:00
Ned Deily
749a7a060c
Extend 3.7.0a3 another week
2017-11-27 22:38:32 -05:00
Benjamin Peterson
e90fcb90fd
some clarifcations I thought of
2017-11-26 23:30:43 -08:00
Mariatta
600fecb3b9
PEP 557: Fix typo in the word "initialized". (GH-483)
2017-11-25 18:02:55 -08:00