Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | bpo-26184: import.rst: Improve versionchanged note (GH-277) | Mariatta | 2017-02-26 | 1 | -2/+5 | |
| | | | | Mention that an ImportError is raised when exec_module() is defined, but create_module() is not. | |||||
* | bpo-29648: import.rst: Add reference to create_module() (GH-290) | Marco Buttu | 2017-02-26 | 1 | -1/+1 | |
| | | | Add a reference to create_module(), in the first versionadded of section Loaders. | |||||
* | Fix small typos in expressions.rst (GH-276) | Jim Fasarakis-Hilliard | 2017-02-24 | 1 | -2/+2 | |
| | ||||||
* | Issues #12067: Merge hash recommendation from 3.5 | Martin Panter | 2017-01-29 | 1 | -0/+4 | |
|\ | ||||||
| * | Issue #12067: Recommend that hash and equality be consistent | Martin Panter | 2017-01-29 | 1 | -0/+4 | |
| | | ||||||
* | | 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 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Issue #29012: Remove outdated information about __bases__ | Berker Peksag | 2017-01-02 | 1 | -1/+1 | |
| | | | | | | | | Patch by Jim Fasarakis-Hilliard. | |||||
* | | Issue #28954: Merge keyword argument syntax from 3.5 | Martin Panter | 2016-12-24 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Issue #28954: Add missing comma to keyword argument syntax | Martin Panter | 2016-12-24 | 1 | -1/+1 | |
| | | ||||||
* | | Merge 3.5 | Victor Stinner | 2016-12-19 | 1 | -5/+8 | |
|\ \ | |/ | ||||||
| * | 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 #28091: Document PEP 525 & PEP 530. | Yury Selivanov | 2016-12-15 | 4 | -4/+187 | |
| | | | | | | | | Patch by Eric Appelt. | |||||
* | | 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 | |
| | | ||||||
* | | Update docs to reflect new behavior around backslashes in expressions (not ↵ | Jason R. Coombs | 2016-11-06 | 1 | -7/+12 | |
| | | | | | | | | allowed), matching recent changes to PEP 498. | |||||
* | | Issue #19795: Mark up None as literal text. | Serhiy Storchaka | 2016-10-19 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Issue #19795: Mark up None as literal text. | Serhiy Storchaka | 2016-10-19 | 1 | -1/+1 | |
| | | ||||||
* | | merge | Raymond Hettinger | 2016-09-11 | 1 | -2/+3 | |
|\ \ | |/ | ||||||
| * | Issue #26511: Reference the id() function in the 'is' and 'is not' docs | Raymond Hettinger | 2016-09-11 | 1 | -2/+3 | |
| | | ||||||
* | | Issue #28076: Variable annotations should be mangled for private names. | Guido van Rossum | 2016-09-11 | 1 | -3/+4 | |
| | | | | | | | | By Ivan Levkivskyi. | |||||
* | | Issue #26331: Implement the parsing part of PEP 515. | Brett Cannon | 2016-09-09 | 1 | -16/+29 | |
| | | | | | | | | Thanks to Georg Brandl for the patch. | |||||
* | | Doc updates for PEPs 520 and 468. | Eric Snow | 2016-09-09 | 1 | -3/+3 | |
| | | ||||||
* | | Issue #27999: Make "global after use" a SyntaxError, and ditto for nonlocal. | Guido van Rossum | 2016-09-09 | 1 | -2/+3 | |
| | | | | | | | | Patch by Ivan Levkivskyi. | |||||
* | | Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations. | Yury Selivanov | 2016-09-08 | 2 | -14/+65 | |
| | | | | | | | | Patch by Ivan Levkivskyi. | |||||
* | | Issue #24254: Drop cls.__definition_order__. | Eric Snow | 2016-09-08 | 2 | -16/+3 | |
| | | ||||||
* | | Issue #28030: Update the language reference for PEP 468. | Eric Snow | 2016-09-08 | 1 | -5/+6 | |
| | | ||||||
* | | #27364: Deprecate invalid escape strings in str/byutes. | R David Murray | 2016-09-08 | 1 | -0/+4 | |
| | | | | | | | | Patch by Emanuel Barry, reviewed by Serhiy Storchaka and Martin Panter. | |||||
* | | Issue #15767: Use ModuleNotFoundError. | Eric Snow | 2016-09-07 | 1 | -10/+10 | |
| | | ||||||
* | | Issue #24254: Preserve class attribute definition order. | Eric Snow | 2016-09-05 | 2 | -1/+19 | |
| | | ||||||
* | | Merge | Raymond Hettinger | 2016-08-25 | 1 | -2/+2 | |
|\ \ | |/ | ||||||
| * | Issue 19504: Change "customise" to "customize" American spelling. | Raymond Hettinger | 2016-08-25 | 1 | -2/+2 | |
| | | ||||||
* | | 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 | |
| | |