Commit Graph

6303 Commits

Author SHA1 Message Date
Georg Brandl af90430776 Fix lists-in-blockquotes in 0xxx PEPs. Ref: #26914 2016-05-03 10:18:02 +02:00
Georg Brandl 4d8ea1d0fe Fix lists-in-blockquotes in 3xxx PEPs. Ref: #26914 2016-05-03 09:51:54 +02:00
Serhiy Storchaka 56d4eced1d cgi.escape is deprecated, use html.escape instead. 2016-05-03 10:51:13 +03:00
Serhiy Storchaka 1adb6b0172 Make roman.py Python3 compatible. 2016-05-03 10:49:19 +03:00
Serhiy Storchaka 65c6f592cd Use the kbd role. 2016-05-03 10:47:48 +03:00
Berker Peksag 936292e0c4 Issue #26914: Fix formatting of lists in PEP 420
Patch by Ned Batchelder.
2016-05-03 10:36:46 +03:00
Larry Hastings 30ad98f0b1 Update 3.5 release schedule with dates for 3.5.2. 2016-04-28 18:44:22 -07:00
Ned Deily c58d50c464 Update email address 2016-04-25 20:13:27 -04:00
Guido van Rossum 6372e0621d Rip out the promotion from bytearray/memoryview to bytes. See http://bugs.python.org/issue26800. 2016-04-24 17:55:04 -07:00
Brett Cannon 084c8e2b83 Tweak the reasoning for pathlib not sublcassing str. 2016-04-23 09:04:27 -07:00
Brett Cannon 6d08f32de7 The CLA bot is done for the GitHub migration 2016-04-22 16:47:32 -07:00
Brett Cannon c26ed6d453 Clarify why pathlib doesn't inherit from str 2016-04-22 11:45:53 -07:00
Victor Stinner aee296ace8 PEP 509: don't require to always increase the version
Don't require to increase the dict version if the dictionary content does not
change. Leave this choice to the Python implementation.
2016-04-21 01:15:25 +02:00
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