summaryrefslogtreecommitdiff
path: root/Doc/reference/datamodel.rst
Commit message (Collapse)AuthorAgeFilesLines
* Issue #29012: Merge from 3.5Berker Peksag2017-01-031-5/+4
|\
| * Issue #29012: Remove another outdated informationBerker Peksag2017-01-031-3/+3
| | | | | | | | Patch by Jim Fasarakis-Hilliard.
* | Issue #29012: Merge from 3.5Berker Peksag2017-01-021-23/+159
|\ \ | |/ |/|
| * Merge 3.5Victor Stinner2016-12-191-5/+8
| |\
| * | Issue #28091: Document PEP 525 & PEP 530.Yury Selivanov2016-12-151-0/+19
| | | | | | | | | | | | | | | Patch by Eric Appelt. (grafted from 78c8f450b84ca1864123ec487d363eb151f61a4a)
| * | Issue #23722: improve __classcell__ compatibilityNick Coghlan2016-12-051-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.6Martin Panter2016-11-211-1/+1
| | |
| * | Issue #19795: Mark up None as literal text.Serhiy Storchaka2016-10-191-1/+1
| |\ \
| * | | Doc updates for PEPs 520 and 468.Eric Snow2016-09-091-3/+3
| | | |
| * | | Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations.Yury Selivanov2016-09-081-14/+21
| | | | | | | | | | | | | | | | Patch by Ivan Levkivskyi.
| * | | Issue #24254: Drop cls.__definition_order__.Eric Snow2016-09-081-7/+0
| | | |
| * | | Issue #24254: Preserve class attribute definition order.Eric Snow2016-09-051-1/+8
| | | |
| * | | MergeRaymond Hettinger2016-08-251-4/+75
| |\ \ \
| | * | | Anti-registration of various ABC methods.Guido van Rossum2016-08-181-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 updatesNick Coghlan2016-07-311-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | - Porting note for type keyword arg handling - __init_subclass__ note regarding metaclass hint
| | * | | Issue #27366: Tweak PEP 487 documentationBerker Peksag2016-07-301-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added versionadded directives * Deleted duplicate sentence from __init_subclass__ docstring * Modernized tests
| | * | | Issue #27366: Implement PEP 487Nick Coghlan2016-07-301-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.5Martin Panter2016-06-181-2/+3
| | |\ \ \
| | | * \ \ Issue #15476: Merge index entries from 3.5Martin Panter2016-06-091-4/+2
| | | |\ \ \
| | | * \ \ \ Merge 3.5 (issue #27243)Yury Selivanov2016-06-091-2/+3
| | | |\ \ \ \
| | | | * \ \ \ Merge: #26829: Clarify that namespace is copied to a new __dict__ in ↵R David Murray2016-06-021-0/+5
| | | | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | instance creation.
| | | | * \ \ \ \ Issue #23921: Standardized documentation whitespace formatting.Serhiy Storchaka2016-05-101-3/+3
| | | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original patch by James Edwards.
| | | | * \ \ \ \ \ Remove redundant leading zeroes in PEP references.Serhiy Storchaka2016-03-311-2/+3
| | | | |\ \ \ \ \ \
| | | | | * \ \ \ \ \ Merge 3.5 (issue #25887)Yury Selivanov2016-02-131-2/+3
| | | | | |\ \ \ \ \ \
| | | | | | * | | | | | Issue #25179: Documentation for formatted string literals aka f-stringsMartin Panter2016-02-131-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 Peksag2017-01-021-1/+1
| |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch by Jim Fasarakis-Hilliard.
* | | | | | | | | | | doc: Suggest to hash(tuple of attr) rather than XORVictor Stinner2016-12-191-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 Storchaka2016-10-191-1/+1
|/ / / / / / / / /
* | | | | | | | | Issue 19504: Change "customise" to "customize" American spelling.Raymond Hettinger2016-08-251-2/+2
|/ / / / / / / /
* | | | | | | | Issue #24314: Fix doc links for general attributes like __name__, __dict__Martin Panter2016-06-181-25/+26
| |_|_|_|_|_|/ |/| | | | | |
* | | | | | | [Issue 15476] Make "code object" its own entry in the indexTommy Beadle2016-06-021-4/+2
|/ / / / / /
* | | | | | Issue #27243: Fix __aiter__ protocolYury Selivanov2016-06-091-2/+46
| |_|_|_|/ |/| | | |
* | | | | #26829: Clarify that namespace is copied to a new __dict__ in instance creation.R David Murray2016-06-021-0/+5
| |_|_|/ |/| | | | | | | | | | | Patch by Emily Morehouse.
* | | | Issue #23921: Standardized documentation whitespace formatting.Serhiy Storchaka2016-05-101-3/+3
|/ / / | | | | | | | | | Original patch by James Edwards.
* | | Remove redundant leading zeroes in PEP references.Serhiy Storchaka2016-03-311-1/+1
|/ /
* | Issue #25887: Raise a RuntimeError when a coroutine is awaited more than once.Yury Selivanov2016-02-131-0/+4
|/
* Issue #25523: Further a-to-an corrections new in 3.5Martin Panter2015-11-021-2/+2
|
* Issue #25418: Fix markup in object.__hash__ documentationBerker Peksag2015-10-161-1/+1
|\ | | | | | | Patch by TAKASE Arihiro.
| * Issue #25418: Fix markup in object.__hash__ documentationBerker Peksag2015-10-161-1/+1
| | | | | | | | Patch by TAKASE Arihiro.
* | Issue #25161: Merge full stops from 3.4 into 3.5Martin Panter2015-10-101-28/+191
|\ \ | |/ |/|
| * Issue #4395: Better testing and documentation of binary operators.Robert Collins2015-08-071-28/+191
| |\ | | | | | | | | | Patch by Martin Panter.
| | * Issue #24439: Improve PEP 492 related docs.Yury Selivanov2015-06-241-11/+62
| | | | | | | | | | | | Patch by Martin Panter.
| | * Issue 24180: Documentation for PEP 492 changes.Yury Selivanov2015-05-211-0/+108
| | |
| | * Issue #23912: Fix code formatting in datamodel.rst.Berker Peksag2015-04-111-3/+3
| | |\ | | | | | | | | | | | | Patch by James Edwards.
| | * \ Issue20467: clarify __init__'s roleEthan Furman2015-01-141-7/+11
| | |\ \
| | * \ \ Merge 3.4Terry Jan Reedy2014-12-101-28/+32
| | |\ \ \
| | | * \ \ Merge: #22918: Drop obsolete mention of 'keys' in datamodel __iter__ docs.R David Murray2014-12-101-2/+1
| | | |\ \ \
| | | * \ \ \ Issue22780: reword NotImplemented docs to emphasise shouldEthan Furman2014-11-261-28/+32
| | | |\ \ \ \
| | | | * \ \ \ merge with 3.4Georg Brandl2014-10-311-28/+32
| | | | |\ \ \ \
| | | | | * \ \ \ Merge with 3.4Georg Brandl2014-10-291-28/+32
| | | | | |\ \ \ \