Commit Graph

6813 Commits

Author SHA1 Message Date
Guido van Rossum aee868bdea Edits by Ivan Levkivskyi to be more precise about types vs. classes.
From https://github.com/python/typing/pull/214.
2016-05-06 16:06:56 -07:00
Larry Hastings 2d3abe1497 Add release schedule for 3.4.5. 2016-05-06 08:41:31 -07:00
Guido van Rossum 31b76f17bf Update status of PEP 438 2016-05-04 08:22:20 -07:00
Donald Stufft ebf3b70858 Direct people from PEP 481 to PEP 512 2016-05-04 07:15:53 -04:00
Donald Stufft 382427f550 Withdraw PEP 481 in favor of PEP 512 2016-05-04 07:12:23 -04:00
Serhiy Storchaka 4088a7dddc Backed out changeset: c4aef26d128b
Unknown interpreted text role "kbd".
2016-05-03 14:10:04 +03:00
Serhiy Storchaka cc1c734886 Issue #26921: Fixed a/an articles. 2016-05-03 13:52:22 +03:00
Serhiy Storchaka e54e86b163 Convert to Unix newlines. 2016-05-03 13:27:59 +03:00
Serhiy Storchaka 3dad438872 Issue #26916: Fixed words duplications. 2016-05-03 12:03:16 +03:00
Georg Brandl 5999b23389 Fixup some more lists-in-blockquotes. Fixes #26914. 2016-05-03 10:35:10 +02:00
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