Commit Graph

6390 Commits

Author SHA1 Message Date
Victor Stinner b0f0a095d0 PEP 509: fix typo reported by Jim J. Jewett 2016-04-21 00:37:56 +02:00
Senthil Kumaran 7690a00d47 PEP-8 Update on Knuth style breaking of a long formula. #issue26780
Patch by Brandon Rhodes provides clarity and rationale for this suggestion.
Also fixes the example to use "+", "-" operators which have same precedence
level.

Reviewed by Guido van Rossum.
2016-04-19 23:14:50 -07:00
Victor Stinner 37ca004dd3 PEP 509
* __setitem__() now always increases the version: remove the micro-optimization
  dict[key] is new_value
* be more explict on version++: explain that the operation must be atomic, and
  that dict methods are already atomic thanks to the GIL
* "Guard against changing dict during iteration": don't guess if the new dict
  version can be used or not. Let's discuss that later.
* rephrase/complete some sections
* add links to new threads on python-dev
2016-04-19 10:43:02 +02:00
Victor Stinner 24ca07b6c9 PEP 509: fix typos reported by Brett 2016-04-14 18:43:28 +02:00
Chris Angelico 2caed0265e Fix typo, resea[r]ch 2016-04-16 05:23:30 +10:00
Guido van Rossum 21bdcd2e9b Fix typo. Revert my previous diff that removed another example breaking before "and". 2016-04-15 09:54:42 -07:00
Guido van Rossum c59c4376ad According to Knuth, it is better to break *before* a binary operator. 2016-04-15 09:43:52 -07:00
Guido van Rossum 1a6cc45d06 Fix style inconsistency with "and" on continuation line. 2016-04-14 10:21:55 -07:00
Victor Stinner 321eda6eb0 PEP 509: add link to Yury's patch 2016-04-14 17:19:09 +02:00
Victor Stinner 9bd8ffbfa4 PEP 509: dict version is now global
* Rename ma_version to ma_version_tag
* Add links to fatoptimizer and fat projects
2016-04-14 17:13:07 +02:00
Steven D'Aprano 0a5fc3d1c9 Mark pep as accepted.
https://mail.python.org/pipermail/python-dev/2016-April/143921.html
2016-04-13 10:32:11 +10:00
Steven D'Aprano 57c5bede3e Make API And Implementation section less wishy-washy.
Per GvR's request, be more specific about what is included.
2016-04-12 03:26:55 +10:00
Guido van Rossum 348da7712a Add Text alias. 2016-04-05 16:35:54 -07:00
Guido van Rossum 3f5669021e Add DefaultDict to PEP 484. 2016-04-05 09:16:06 -07:00
Guido van Rossum 9f33fa7793 Update the section on type erasure to disallow Node[int]() -- you must use a type alias. 2016-04-04 17:39:26 -07:00
Brett Cannon b31d3f0ea7 Update PEP 512 to denote that the initial GH work is done 2016-04-01 10:52:34 -07:00
Serhiy Storchaka d6fe43240e Remove redundant leading zeroes in PEP references. 2016-03-31 17:45:40 +03:00
Brett Cannon 5299a11927 Update status of work for PEP 512 2016-03-30 19:59:57 -07:00
Brett Cannon 3e8b280039 Minor update for PEP 512 2016-03-28 10:47:56 -07:00
Berker Peksag 0c16d59848 Fix broken links in PEP 378
Reported at https://github.com/python/pythondotorg/issues/913
2016-03-27 22:56:33 +03:00
Berker Peksag f730565241 Fix typos and tweak the return value of dict_get_version(d) 2016-03-27 22:52:25 +03:00
Guido van Rossum 11e9267809 Show example of 2.7 syntax for argument-less function, and mention skipping 'self'. 2016-03-22 18:12:14 -07:00
Guido van Rossum 6ce45f1256 Give an explicit example for how to annotate *args, **kwds. 2016-03-22 14:54:38 -07:00
Guido van Rossum cf6962bc20 Clarify what's allowed in the base classes when making a new generic class. 2016-03-22 08:56:19 -07:00
Guido van Rossum db9caac261 Relax constraints on @overload. It may occur in modules if followed by a non-@overload version. 2016-03-21 13:51:08 -07:00
Guido van Rossum f81fd32c43 Updates to PEP 484 concerning the syntax for Python 2.7 and straddling code. 2016-03-21 13:31:02 -07:00
Guido van Rossum e1d8f55b86 Just refer to the spec in PEP 484 for straddling annotations instead of repeating the info in PEP 8. 2016-03-21 13:30:24 -07:00
Nick Coghlan d486abefaf PEP 493 has been implemented 2016-03-20 22:46:53 +10:00
Alexander Belopolsky 321671df8f pep-494: Added PEP 495 to 3.6 proposed changes 2016-03-19 17:06:35 -04:00
Larry Hastings dd6b8d2557 Added the first inklings of a 3.5.2 schedule. 2016-03-19 18:36:18 +00:00
Brett Cannon f475d61a18 Roll an idea into part of another one 2016-03-19 11:23:45 -07:00
Georg Brandl 013c3926a8 Update PEP 515: the "_" format specifier is now accepted. 2016-03-19 07:49:20 +01:00
Brett Cannon c1eb956ea8 Merge 2016-03-18 10:47:36 -07:00
Brett Cannon 1057d39e02 Add the idea of generating a list of contributors to thank per release 2016-03-18 10:47:20 -07:00
Steve Dower d530ee1bf3 PEP 514: Updates wording and post date 2016-03-17 16:28:56 -07:00
Serhiy Storchaka 40d4760aea Encoding name can contain underscores. 2016-03-17 15:47:38 +02:00
Guido van Rossum e8c05569ec Clarify things around the coding cookie.
Serhiy Storchaka: "Coding cookie must be in comment, only the first
occurrence in the line must be taken to account (here is a bug in
CPython), encoding name must be ASCII, and there must not be any
Python statement on the line that contains the encoding
declaration."
2016-03-16 17:19:40 -07:00
Guido van Rossum cbf79d2711 Undefined didn't make it into the standard. 2016-03-16 16:22:19 -07:00
Brett Cannon 052035eaa8 Add an idea to have a bot help identify potential core devs 2016-03-05 12:51:30 -08:00
Brett Cannon fac8237c3d Fix a reference error 2016-03-05 12:31:20 -08:00
Brett Cannon a1396aa96c Update status of PEP 512 2016-03-04 12:29:35 -08:00
Barry Warsaw 0e8e6dbfa3 PEP 493 is Accepted. 2016-03-02 10:06:11 -05:00
Victor Stinner 30a8962c72 PEP 511: link python-ideas discussion 2016-02-29 15:52:38 +01:00
Nick Coghlan 4e77d45d59 PEP 493: slight wording tweak for accuracy 2016-02-25 18:32:06 +10:00
Nick Coghlan a283db8c30 PEP 493: clarify a security caveat 2016-02-25 18:21:44 +10:00
Nick Coghlan 9c4c3a39c7 PEP 493: add new post date 2016-02-24 20:16:56 +10:00
Nick Coghlan 16fcb881c2 PEP 493: address review comments from Barry 2016-02-24 16:29:59 +10:00
Barry Warsaw 254ad75c22 Gramatical and other improvements given by thefourtheye.
Closes #26408
2016-02-22 09:05:45 -05:00
Donald Stufft d8ac3d2b80 Fix errors/warnings on PEP 517 2016-02-18 07:02:27 -05:00
Donald Stufft 5f69d1fc04 Switch the BDFL-Delegate to Nick 2016-02-18 06:03:25 -05:00