Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | Merge for issue #27712 | Brett Cannon | 2016-08-12 | 1 | -2/+2 |
|\ | |||||
| * | Issue #27712: Fix some typos in the import docs. | Brett Cannon | 2016-08-12 | 1 | -2/+2 |
| | | | | | | | | Thanks to Xiang Zhang for the patch. | ||||
* | | Issue #26576: Merge from 3.5 | Berker Peksag | 2016-08-03 | 1 | -4/+5 |
|\ \ | |/ | |||||
| * | Issue #26576: Clarify that the @deco syntax is not always an equivalent of f ↵ | Berker Peksag | 2016-08-03 | 1 | -4/+5 |
| | | | | | | | | | | | | = deco(f) Patch by Chris Angelico. | ||||
* | | 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 #26462: Merge code block fixes from 3.5 | Martin Panter | 2016-07-29 | 2 | -5/+16 |
|\ \ | |/ | |||||
| * | Issue #26462: Doc: reduce literal_block warnings, fix syntax highlighting. | Martin Panter | 2016-07-26 | 2 | -5/+16 |
| | | | | | | | | Patch by Julien Palard. | ||||
* | | Issue #24314: Merge doc links from 3.5 | Martin Panter | 2016-06-18 | 1 | -25/+26 |
|\ \ | |/ | |||||
| * | Issue #24314: Fix doc links for general attributes like __name__, __dict__ | Martin Panter | 2016-06-18 | 1 | -25/+26 |
| | | |||||
* | | Issue #24136: Adjust f-strings doc for interable unpacking | Martin Panter | 2016-06-12 | 1 | -1/+2 |
| | | |||||
* | | Issue #24136: Merge unpacking doc from 3.5 | Martin Panter | 2016-06-12 | 2 | -27/+61 |
|\ \ | |/ | |||||
| * | Issue #24136: Document generalized unpacking, PEP 448 | Martin Panter | 2016-06-12 | 2 | -27/+61 |
| | | | | | | | | Based on patches by Konstantin Molchanov and Neil Girdhar. | ||||
* | | Issue #15476: Merge index entries from 3.5 | Martin Panter | 2016-06-09 | 1 | -4/+2 |
|\ \ | |/ | |||||
| * | [Issue 15476] Make "code object" its own entry in the index | Tommy Beadle | 2016-06-02 | 1 | -4/+2 |
| | | |||||
* | | Merge 3.5 (issue #27243) | Yury Selivanov | 2016-06-09 | 2 | -3/+47 |
|\ \ | |/ | |||||
| * | Issue #27243: Fix __aiter__ protocol | Yury Selivanov | 2016-06-09 | 2 | -3/+47 |
| | | |||||
| * | Issue #23275: Backport target list assignment documentation fixes | Martin Panter | 2016-06-08 | 1 | -15/+14 |
| | | |||||
* | | Merge: #26829: Clarify that namespace is copied to a new __dict__ in ↵ | R David Murray | 2016-06-03 | 1 | -0/+5 |
|\ \ | |/ | | | | | instance creation. | ||||
| * | #26829: Clarify that namespace is copied to a new __dict__ in instance creation. | R David Murray | 2016-06-03 | 1 | -0/+5 |
| | | | | | | | | Patch by Emily Morehouse. | ||||
* | | Issue #23275: Allow () = iterable assignment syntax | Berker Peksag | 2016-05-18 | 1 | -16/+15 |
| | | | | | | | | Documentation updates by Martin Panter. | ||||
* | | Issue #27049: fix doc typo | Ned Deily | 2016-05-18 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #27049: fix doc typo | Ned Deily | 2016-05-18 | 1 | -1/+1 |
| | | |||||
* | | merge 3.5 (#27042) | Benjamin Peterson | 2016-05-17 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | class definitions only get argument lists (closes #27042) | Benjamin Peterson | 2016-05-17 | 1 | -1/+1 |
| | | |||||
| * | Backed out changeset 71ff2235bb4c (closes #27042) | Benjamin Peterson | 2016-05-17 | 1 | -1/+1 |
| | | |||||
* | | Issue #23921: Standardized documentation whitespace formatting. | Serhiy Storchaka | 2016-05-10 | 3 | -6/+6 |
|\ \ | |/ | | | | | Original patch by James Edwards. | ||||
| * | Issue #23921: Standardized documentation whitespace formatting. | Serhiy Storchaka | 2016-05-10 | 3 | -6/+6 |
| | | | | | | | | Original patch by James Edwards. | ||||
* | | Issue #26156: Make expressions grammar description more semantically correct. | Serhiy Storchaka | 2016-05-08 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Issue #26156: Make expressions grammar description more semantically correct. | Serhiy Storchaka | 2016-05-08 | 1 | -2/+2 |
| | | |||||
* | | Merge typo fixes from 3.5 | Martin Panter | 2016-05-08 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fix typos in comments, documentation and test method names | Martin Panter | 2016-05-08 | 1 | -1/+1 |
| | | |||||
* | | Issue #26736: Used HTTPS for external links in the documentation if possible. | Serhiy Storchaka | 2016-05-07 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #26736: Used HTTPS for external links in the documentation if possible. | Serhiy Storchaka | 2016-05-07 | 1 | -1/+1 |
| | | |||||
* | | Issue #18572: Remove redundant note about surrogates in string escape doc | Berker Peksag | 2016-04-24 | 1 | -2/+1 |
|\ \ | |/ | |||||
| * | Issue #18572: Remove redundant note about surrogates in string escape doc | Berker Peksag | 2016-04-24 | 1 | -2/+1 |
| | | |||||
* | | Remove redundant leading zeroes in PEP references. | Serhiy Storchaka | 2016-03-31 | 3 | -5/+5 |
|\ \ | |/ | |||||
| * | Remove redundant leading zeroes in PEP references. | Serhiy Storchaka | 2016-03-31 | 3 | -5/+5 |
| | | |||||
* | | Merge 3.5 (issue #25887) | Yury Selivanov | 2016-02-13 | 1 | -0/+4 |
|\ \ | |/ | |||||
| * | Issue #25887: Raise a RuntimeError when a coroutine is awaited more than once. | Yury Selivanov | 2016-02-13 | 1 | -0/+4 |
| | | |||||
* | | Issue #25179: Documentation for formatted string literals aka f-strings | Martin Panter | 2016-02-13 | 2 | -4/+109 |
| | | | | | | | | | | Some of the inspiration and wording is taken from the text of PEP 498 by Eric V. Smith, and the existing str.format() documentation. | ||||
* | | Merge with 3.5 | Zachary Ware | 2016-02-04 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Python for .NET has moved to Github. | Zachary Ware | 2016-02-04 | 1 | -1/+1 |
| | | | | | | | | Reported by Denis Akhiyarov on docs@ | ||||
* | | Issue #25791: Warn when __package__ != __spec__.parent. | Brett Cannon | 2016-01-22 | 1 | -4/+14 |
| | | | | | | | | | | | | | | | | | | In a previous change, __spec__.parent was prioritized over __package__. That is a backwards-compatibility break, but we do eventually want __spec__ to be the ground truth for module details. So this change reverts the change in semantics and instead raises an ImportWarning when __package__ != __spec__.parent to give people time to adjust to using spec objects. | ||||
* | | Issue #25791: Raise an ImportWarning when __spec__ or __package__ are | Brett Cannon | 2016-01-15 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | not defined for a relative import. This is the start of work to try and clean up import semantics to rely more on a module's spec than on the myriad attributes that get set on a module. Thanks to Rose Ames for the patch. | ||||
* | | Merge for issue #25500 | Brett Cannon | 2015-12-04 | 1 | -5/+4 |
|\ \ | |/ | |||||
| * | Issue #25500: Fix the language reference to not claim that import | Brett Cannon | 2015-12-04 | 1 | -5/+4 |
| | | | | | | | | | | | | statements search for __import__ in the global scope. Thanks to Sergei Lebedev for finding the documentation bug. | ||||
* | | Merge: #25679: spelling fix | R David Murray | 2015-11-20 | 1 | -3/+2 |
|\ \ | |/ |