Commit Graph

7457 Commits

Author SHA1 Message Date
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
Mariatta 3ae7c5bec5 PEP 557: Deindent some bullet list items (#481)
Thanks.
2017-11-25 19:02:31 -05:00
Eric V. Smith cd24cee7b4 Fix typo. 2017-11-25 15:54:11 -05:00
Eric V. Smith 17cc5bc3f7 Update to Data Classes.
The major changes from the previous version are:

- Add InitVar to specify initialize-only fields.
- Renamed __dataclass_post_init__() to __post_init().
- Rename cmp to compare.
- Added eq, separate from compare, so you can test
  unorderable items for equality.
- Flushed out asdict() and astuple().
- Changed replace() to just call __init__(), and dropped
  complex post-create logic.
2017-11-25 15:41:52 -05:00
Guido van Rossum 039d3b7132 Fix typo 2017-11-25 08:03:16 -08:00
Guido van Rossum a9f4c7344d Reject PEP 549 2017-11-25 08:03:16 -08:00
Nick Coghlan c7cda067d4 PEP 565: note an implementation detail 2017-11-25 15:23:27 +10:00
Nick Coghlan ca9c7a845c PEP 565: add 2nd post date 2017-11-25 15:17:32 +10:00
Lukasz Langa 534c10773e [pep 563] Continuous tense for rejected ideas 2017-11-21 16:31:25 -08:00
Lukasz Langa 31adad8401 [pep 563] Tag current post history 2017-11-21 16:16:54 -08:00
Lukasz Langa 651083fb6f [pep 563] Second public draft to be discussed on python-dev. 2017-11-21 16:12:53 -08:00
Nick Coghlan 0c8ec1a7da
PEP 565: issue link for debug build changes 2017-11-21 12:21:12 +10:00
Ivan Levkivskyi 9228c0c923 Clarification based on python-dev discussion (#480) 2017-11-20 16:25:18 -08:00
Ivan Levkivskyi 303e46d494 Additional comment proposed on python-dev (#479) 2017-11-20 16:23:28 -08:00
Victor Stinner 141c79e1be Update pysandbox URL 2017-11-21 00:15:14 +01:00
Nick Coghlan 30daada786
PEP 565: Update for python-dev discussion (#478) 2017-11-19 17:11:18 +10:00