Commit Graph

7522 Commits

Author SHA1 Message Date
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
Ethan Smith e4b790c194 Add suggestion about multiple comment syntax (#476)
Describing the status quo.
2017-11-17 15:49:25 -08:00
Ivan Levkivskyi cd0e99aa05 Update post-history for PEP 560 (#475) 2017-11-17 14:55:08 -08:00
Ivan Levkivskyi 530b527c02 Update PEP 562 following suggestions on python-dev (#474)
I didn't add any specification for helper functions. Also I think we don't need module __set_name__ (it was brought by Serhiy) since it is still very new and much less known compared to __getattr__.
2017-11-17 14:52:41 -08:00
Ivan Levkivskyi 17564eff05 PEP 560: Wording improvements after discussion on python-dev (#473) 2017-11-17 14:16:43 -08:00
Mariatta 51a8f2f495
Delete pep-html-template (GH-472)
Closes https://github.com/python/peps/issues/471
2017-11-15 10:30:06 -08:00
Ivan Levkivskyi 8f2d854856 Updates following recent discussions (#470) 2017-11-14 11:57:23 -08:00
Ivan Levkivskyi 2a0cc286f2 Updates following recent disscussions (#469) 2017-11-14 11:54:51 -08:00
Ethan Smith 170513274d PEP 561: Add note about module only distributions (#468) 2017-11-13 20:55:55 -08:00
Guido van Rossum 78dc4b19a3
Proposed small tweaks to the text of PEP 561 (#467) 2017-11-13 15:50:14 -08:00
Mariatta 794178d6e0
PEP 565: Add missing backtick (GH-466) 2017-11-12 16:43:52 -08:00
Ethan Smith 1bf93be451 Update PEP 561 to use per-package marker file (#461)
Typing information relates to import packages rather than distribution packages,
so it needs to be inside the individual packages, rather than in the distribution
metadata.

As an added benefit, this means running directly from source control
will still do the right thing.
2017-11-12 20:51:37 +10:00
Nick Coghlan 9a3d13f690
PEP 565: change the default warnings filter (#465) 2017-11-12 13:46:56 +10: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
Ivan Levkivskyi 4fd3245ea1 Updates to PEP 560 (#460)
* Change title and use __mro_entry__

* Add more discussion and types.resolve_bases

* Improve example
2017-11-10 16:35:15 -08:00
Guido van Rossum d85cbb9264 Fix grammar nits 2017-11-10 12:01:01 -08:00
Guido van Rossum 99b1665d94
Small edits for PEP 560 (#459) 2017-11-10 11:45:03 -08:00
Mariatta 2c212e0086
PEP 8, deindent some of the text. (GH-458) 2017-11-10 09:22:07 -08:00
Benjamin Peterson 1f6bc120cc fix reference to docutils PEPZeo 2017-11-09 23:21:15 -08:00
Berker Peksag cd78f23196
PEP 492: Remove redundant 'exc = True' line 2017-11-10 01:19:58 +03:00
Gerrit Holl 1319142c68 Fix spelling: smorgasboard -> smorgasbord. (#450) 2017-11-07 12:35:10 -08:00
Ben Hoyt 4bd034e8db Fix Post-History link in PEP 407 (#448)
Update Post-History from link to date
2017-11-06 10:29:06 -08:00
toonarmycaptain ef1eb2f868 Update pep-0008.txt (#438)
* Update pep-0008.txt

Clarified contradictions regarding comment formatting. NB Complete sentences should have a period.

* Update pep-0008.txt

Changed to remove reference to short comments without terminating period.

* Update pep-0008.txt

Further refined, corrected incorrect, fixed  singular/plural.

* Update pep-0008.txt

* Update pep-0008.txt

Edit for consistency use 'multi-' in 'multi-line` 'multi-statement` 'multi-sentence` etc with dash rather than space or no splitter (eg 'multi line`, 'multiline`). If a different convention is preferred, do that.

* Update pep-0008.txt 'latin' capitalization

'Latin' is a proper noun, and thus should be capitalized.

* Update pep-0008.txt 'boolean' capitalization

Capitalization should be consisted. I propose 'boolean' should always be capitalized, as per https://english.stackexchange.com/questions/4481/should-the-word-boolean-be-capitalized

At present it is inconsistently capitalised.
Changed 'boolean' to 'Boolean'

* Update pep-0008.txt - 'unicode' capitalization

Update pep-0008.txt - as a proper noun, 'unicode' should be capitalized. Fixed 3 instances.

* Revise Update pep-0008.txt

Removed revisions to 'boolean', 'unicode'. 

Unicode capitalization [issue](https://bugs.python.org/issue31873) under discussion.

* Removed trailing newlines

Removed trailing newlines

* Standardised 'multiline', reworded 'Latin'

Made the form 'multiline' uniform throughout the document. 

Clarified references to Latin alphabet to direct to the specific character set desired.

* Removed errant period

* Moved  'alphabet'

Moved  'alphabet' before encoding parenthesis line 336.
2017-11-05 16:52:16 -08:00
Ethan Smith feedbb46c4 fix dead link to implementation (#447) 2017-11-02 13:09:11 -07:00
Victor Stinner c99066ebaa PEP 564: Set Status to Final
I pushed my implementation of the PEP 564.
2017-11-02 15:29:04 +01:00
Christopher H.Barker, PhD 2aa8101ec1 fixed a (critical) typo (#445)
I somehow had "smaller" for both the weak and strong cases -- not sure I let that slip through originally
2017-11-02 10:37:43 +11:00
Jakub Wilk 3ab7b4fa9e PEP 564: fix typos (#435) 2017-11-01 15:33:19 -07:00
Lukasz Langa 875153046a [pep 563] fix broken metadata 2017-11-01 15:29:48 -07:00
Lukasz Langa adf528d4d0 First public draft to be discussed on python-dev. 2017-11-01 14:30:38 -07:00
Victor Stinner cbe3e2d540 Guido van Rossum approved the PEP 564 2017-10-30 18:24:28 +01:00
Oleg Broytman 9cd870ef71 Post-History should include dates of postings to python-ideas (#441)
Refs: https://mail.python.org/pipermail/python-dev/2017-October/149990.html
2017-10-27 14:49:30 -04:00
Ethan Smith 52a444b154 PEP 561: Add implementation links and changelog (#439) 2017-10-26 14:59:42 -07:00
toonarmycaptain baef778005 Update pep-0008.txt (#433)
Update pep-0008.txt

Clarified contradictions regarding comment formatting. NB Complete sentences should have a period.
2017-10-25 11:28:55 -04:00
Brett Cannon 7bd9f7cfb2 Make PEP 9 one massive literal block (#437)
Closes #4.
2017-10-24 17:45:46 -07:00
Lilian Besson a1214f0ac1 Update pep-0553.rst (#430)
[java] reference key was misleading, [js-debugger] seems more logical
2017-10-24 17:35:16 -07:00