Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #29012: Merge from 3.5 | Berker Peksag | 2017-01-03 | 1 | -5/+4 |
|\ | |||||
| * | Issue #29012: Remove another outdated information | Berker Peksag | 2017-01-03 | 1 | -3/+3 |
| | | | | | | | | Patch by Jim Fasarakis-Hilliard. | ||||
* | | Issue #29012: Merge from 3.5 | Berker Peksag | 2017-01-02 | 1 | -23/+159 |
|\ \ | |/ |/| | |||||
| * | Merge 3.5 | Victor Stinner | 2016-12-19 | 1 | -5/+8 |
| |\ | |||||
| * | | Issue #28091: Document PEP 525 & PEP 530. | Yury Selivanov | 2016-12-15 | 1 | -0/+19 |
| | | | | | | | | | | | | | | | Patch by Eric Appelt. (grafted from 78c8f450b84ca1864123ec487d363eb151f61a4a) | ||||
| * | | Issue #23722: improve __classcell__ compatibility | Nick Coghlan | 2016-12-05 | 1 | -1/+40 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handling zero-argument super() in __init_subclass__ and __set_name__ involved moving __class__ initialisation to type.__new__. This requires cooperation from custom metaclasses to ensure that the new __classcell__ entry is passed along appropriately. The initial implementation of that change resulted in abruptly broken zero-argument super() support in metaclasses that didn't adhere to the new requirements (such as Django's metaclass for Model definitions). The updated approach adopted here instead emits a deprecation warning for those cases, and makes them work the same way they did in Python 3.5. This patch also improves the related class machinery documentation to cover these details and to include more reader-friendly cross-references and index entries. | ||||
| * | | Another en ? em dash fix for 3.6 | Martin Panter | 2016-11-21 | 1 | -1/+1 |
| | | | |||||
| * | | Issue #19795: Mark up None as literal text. | Serhiy Storchaka | 2016-10-19 | 1 | -1/+1 |
| |\ \ | |||||
| * | | | Doc updates for PEPs 520 and 468. | Eric Snow | 2016-09-09 | 1 | -3/+3 |
| | | | | |||||
| * | | | Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations. | Yury Selivanov | 2016-09-08 | 1 | -14/+21 |
| | | | | | | | | | | | | | | | | Patch by Ivan Levkivskyi. | ||||
| * | | | Issue #24254: Drop cls.__definition_order__. | Eric Snow | 2016-09-08 | 1 | -7/+0 |
| | | | | |||||
| * | | | Issue #24254: Preserve class attribute definition order. | Eric Snow | 2016-09-05 | 1 | -1/+8 |
| | | | | |||||
| * | | | Merge | Raymond Hettinger | 2016-08-25 | 1 | -4/+75 |
| |\ \ \ | |||||
| | * | | | Anti-registration of various ABC methods. | Guido van Rossum | 2016-08-18 | 1 | -1/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Issue #25958: Support "anti-registration" of special methods from various ABCs, like __hash__, __iter__ or __len__. All these (and several more) can be set to None in an implementation class and the behavior will be as if the method is not defined at all. (Previously, this mechanism existed only for __hash__, to make mutable classes unhashable.) Code contributed by Andrew Barnert and Ivan Levkivskyi. | ||||
| | * | | | Issue 27366: PEP 487 docs updates | Nick Coghlan | 2016-07-31 | 1 | -0/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | - Porting note for type keyword arg handling - __init_subclass__ note regarding metaclass hint | ||||
| | * | | | Issue #27366: Tweak PEP 487 documentation | Berker Peksag | 2016-07-30 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added versionadded directives * Deleted duplicate sentence from __init_subclass__ docstring * Modernized tests | ||||
| | * | | | Issue #27366: Implement PEP 487 | Nick Coghlan | 2016-07-30 | 1 | -1/+42 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - __init_subclass__ called when new subclasses defined - __set_name__ called when descriptors are part of a class definition | ||||
| | * | | | Issue #24314: Merge doc links from 3.5 | Martin Panter | 2016-06-18 | 1 | -2/+3 |
| | |\ \ \ | |||||
| | | * \ \ | Issue #15476: Merge index entries from 3.5 | Martin Panter | 2016-06-09 | 1 | -4/+2 |
| | | |\ \ \ | |||||
| | | * \ \ \ | Merge 3.5 (issue #27243) | Yury Selivanov | 2016-06-09 | 1 | -2/+3 |
| | | |\ \ \ \ | |||||
| | | | * \ \ \ | Merge: #26829: Clarify that namespace is copied to a new __dict__ in ↵ | R David Murray | 2016-06-02 | 1 | -0/+5 |
| | | | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | instance creation. | ||||
| | | | * \ \ \ \ | Issue #23921: Standardized documentation whitespace formatting. | Serhiy Storchaka | 2016-05-10 | 1 | -3/+3 |
| | | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original patch by James Edwards. | ||||
| | | | * \ \ \ \ \ | Remove redundant leading zeroes in PEP references. | Serhiy Storchaka | 2016-03-31 | 1 | -2/+3 |
| | | | |\ \ \ \ \ \ | |||||
| | | | | * \ \ \ \ \ | Merge 3.5 (issue #25887) | Yury Selivanov | 2016-02-13 | 1 | -2/+3 |
| | | | | |\ \ \ \ \ \ | |||||
| | | | | | * | | | | | | Issue #25179: Documentation for formatted string literals aka f-strings | Martin Panter | 2016-02-13 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some of the inspiration and wording is taken from the text of PEP 498 by Eric V. Smith, and the existing str.format() documentation. | ||||
* | | | | | | | | | | | | Issue #29012: Remove outdated information about __bases__ | Berker Peksag | 2017-01-02 | 1 | -1/+1 |
| |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch by Jim Fasarakis-Hilliard. | ||||
* | | | | | | | | | | | doc: Suggest to hash(tuple of attr) rather than XOR | Victor Stinner | 2016-12-19 | 1 | -5/+8 |
| |_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #28383: __hash__ documentation recommends naive XOR to combine but this is suboptimal. Update the doc to suggest to reuse the hash() method using a tuple, with an example. | ||||
* | | | | | | | | | | Issue #19795: Mark up None as literal text. | Serhiy Storchaka | 2016-10-19 | 1 | -1/+1 |
|/ / / / / / / / / | |||||
* | | | | | | | | | Issue 19504: Change "customise" to "customize" American spelling. | Raymond Hettinger | 2016-08-25 | 1 | -2/+2 |
|/ / / / / / / / | |||||
* | | | | | | | | Issue #24314: Fix doc links for general attributes like __name__, __dict__ | Martin Panter | 2016-06-18 | 1 | -25/+26 |
| |_|_|_|_|_|/ |/| | | | | | | |||||
* | | | | | | | [Issue 15476] Make "code object" its own entry in the index | Tommy Beadle | 2016-06-02 | 1 | -4/+2 |
|/ / / / / / | |||||
* | | | | | | Issue #27243: Fix __aiter__ protocol | Yury Selivanov | 2016-06-09 | 1 | -2/+46 |
| |_|_|_|/ |/| | | | | |||||
* | | | | | #26829: Clarify that namespace is copied to a new __dict__ in instance creation. | R David Murray | 2016-06-02 | 1 | -0/+5 |
| |_|_|/ |/| | | | | | | | | | | | Patch by Emily Morehouse. | ||||
* | | | | Issue #23921: Standardized documentation whitespace formatting. | Serhiy Storchaka | 2016-05-10 | 1 | -3/+3 |
|/ / / | | | | | | | | | | Original patch by James Edwards. | ||||
* | | | Remove redundant leading zeroes in PEP references. | Serhiy Storchaka | 2016-03-31 | 1 | -1/+1 |
|/ / | |||||
* | | Issue #25887: Raise a RuntimeError when a coroutine is awaited more than once. | Yury Selivanov | 2016-02-13 | 1 | -0/+4 |
|/ | |||||
* | Issue #25523: Further a-to-an corrections new in 3.5 | Martin Panter | 2015-11-02 | 1 | -2/+2 |
| | |||||
* | Issue #25418: Fix markup in object.__hash__ documentation | Berker Peksag | 2015-10-16 | 1 | -1/+1 |
|\ | | | | | | | Patch by TAKASE Arihiro. | ||||
| * | Issue #25418: Fix markup in object.__hash__ documentation | Berker Peksag | 2015-10-16 | 1 | -1/+1 |
| | | | | | | | | Patch by TAKASE Arihiro. | ||||
* | | Issue #25161: Merge full stops from 3.4 into 3.5 | Martin Panter | 2015-10-10 | 1 | -28/+191 |
|\ \ | |/ |/| | |||||
| * | Issue #4395: Better testing and documentation of binary operators. | Robert Collins | 2015-08-07 | 1 | -28/+191 |
| |\ | | | | | | | | | | Patch by Martin Panter. | ||||
| | * | Issue #24439: Improve PEP 492 related docs. | Yury Selivanov | 2015-06-24 | 1 | -11/+62 |
| | | | | | | | | | | | | Patch by Martin Panter. | ||||
| | * | Issue 24180: Documentation for PEP 492 changes. | Yury Selivanov | 2015-05-21 | 1 | -0/+108 |
| | | | |||||
| | * | Issue #23912: Fix code formatting in datamodel.rst. | Berker Peksag | 2015-04-11 | 1 | -3/+3 |
| | |\ | | | | | | | | | | | | | Patch by James Edwards. | ||||
| | * \ | Issue20467: clarify __init__'s role | Ethan Furman | 2015-01-14 | 1 | -7/+11 |
| | |\ \ | |||||
| | * \ \ | Merge 3.4 | Terry Jan Reedy | 2014-12-10 | 1 | -28/+32 |
| | |\ \ \ | |||||
| | | * \ \ | Merge: #22918: Drop obsolete mention of 'keys' in datamodel __iter__ docs. | R David Murray | 2014-12-10 | 1 | -2/+1 |
| | | |\ \ \ | |||||
| | | * \ \ \ | Issue22780: reword NotImplemented docs to emphasise should | Ethan Furman | 2014-11-26 | 1 | -28/+32 |
| | | |\ \ \ \ | |||||
| | | | * \ \ \ | merge with 3.4 | Georg Brandl | 2014-10-31 | 1 | -28/+32 |
| | | | |\ \ \ \ | |||||
| | | | | * \ \ \ | Merge with 3.4 | Georg Brandl | 2014-10-29 | 1 | -28/+32 |
| | | | | |\ \ \ \ |