Commit Graph

7207 Commits

Author SHA1 Message Date
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
Huang Huang 0fcce00dad reSTify PEP 100 (#422) 2017-10-24 12:54:10 -07:00
Huang Huang 5a15c92dcf reSTify PEP 308 (#423) 2017-10-24 12:24:48 -07:00
Masayuki Yamamoto 370be4c92a PEP 539: Fix wording about Py_tss_NEEDS_INIT (#436)
Make more sense to replace the word "default value" with
"initializer" for Py_tss_NEEDS_INIT.
2017-10-24 22:58:39 +10:00
Guido van Rossum 55504a85a6 PEP 555 is withdrawn 2017-10-23 18:04:25 -07:00
Antoine Pitrou 114408971f Fix wording and spelling 2017-10-22 11:32:40 +02:00
Nick Coghlan 4d9406ca17 PEP 558: Use correct function name 2017-10-22 16:22:13 +10:00
Nick Coghlan 5bf527ba1a PEP 558: markup fix 2017-10-22 16:18:56 +10:00
Nick Coghlan 9a8e590a52 PEP 558: Update to use a write-through proxy
It turns out that *any* write-back based design has
inherent flaws that make it difficult to build a source
debugger that reliably allows mutation of function local
variables.

So this switches to Nathaniel's suggested write-through
proxy idea, but constrains it to only applying when a
trace hook is installed. This means the official language
level semantics can just use the simpler model where
rebinding function local variables via locals() simply
isn't possible - only folks already working with frames
and trace functions will need to be aware of the semantics
of the write-through proxy.
2017-10-22 16:12:25 +10:00
Victor Stinner 86c06a737c PEP 564: Minor fixes, fix typos 2017-10-18 02:37:03 +02:00
Victor Stinner fcbf6126d3 PEP 564: add process_time()
Explain why other functions don't need a nanosecond variant.
2017-10-18 01:00:37 +02:00
Victor Stinner 9d8fd95001 Reject my own PEP 511 (code transformers) 2017-10-17 22:22:17 +02:00
Victor Stinner c99fb8bf5b Reject my own PEP 510 2017-10-17 22:08:00 +02:00
Ned Deily 045a7063b0 Revised 3.7.0a3 and a4 dates 2017-10-17 14:52:41 -04:00
Ned Deily d248f75a24 Add PEPs implemented in 370a2 2017-10-17 01:42:17 -04:00
Victor Stinner 253f4b32a0 PEP 564: leave "unchanged functions" question open 2017-10-16 18:51:38 +02:00