Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #23641: Cleaned out legacy dunder names from tests and docs. | Serhiy Storchaka | 2015-03-12 | 1 | -16/+8 |
| | | | | Fixed 2 to 3 porting bug in pynche.ColorDB. | ||||
* | fix many custom mro() edge cases and improve code quality (#22735) | Benjamin Peterson | 2015-02-06 | 1 | -1/+226 |
| | | | | Patch by Eldar Abusalimov. | ||||
* | Issue #21768: fix NameError in test_pydescr. Patch by Claudiu Popa. | Terry Jan Reedy | 2014-06-20 | 1 | -1/+1 |
| | |||||
* | move SharedKeyTests to test_descr | Benjamin Peterson | 2014-03-17 | 1 | -1/+23 |
| | |||||
* | correct the fix for #20637; allow slot descriptor inheritance to take place ↵ | Benjamin Peterson | 2014-03-17 | 1 | -0/+8 |
| | | | | before creating cached keys | ||||
* | look up __getnewargs__ and __getnewargs_ex__ on the object type (#16251) | Benjamin Peterson | 2014-02-16 | 1 | -0/+14 |
| | |||||
* | Issue #20532: Tests which use _testcapi now are marked as CPython only. | Serhiy Storchaka | 2014-02-07 | 1 | -0/+1 |
|\ | |||||
| * | Issue #20532: Tests which use _testcapi now are marked as CPython only. | Serhiy Storchaka | 2014-02-07 | 1 | -0/+1 |
| | | |||||
* | | Fix whitespace | Antoine Pitrou | 2013-11-23 | 1 | -3/+3 |
| | | |||||
* | | Issue #17810: Implement PEP 3154, pickle protocol 4. | Antoine Pitrou | 2013-11-23 | 1 | -172/+433 |
| | | | | | | | | Most of the work is by Alexandre. | ||||
* | | Implement PEP 451 (ModuleSpec). | Eric Snow | 2013-11-22 | 1 | -1/+1 |
| | | |||||
* | | Issue #19603: Use specific asserts in test_decr. | Serhiy Storchaka | 2013-11-17 | 1 | -157/+168 |
|\ \ | |/ | |||||
| * | Issue #19603: Use specific asserts in test_decr. | Serhiy Storchaka | 2013-11-17 | 1 | -157/+168 |
| | | |||||
* | | cleanup the construction of __qualname__ (closes #19301 again) | Benjamin Peterson | 2013-10-20 | 1 | -1/+3 |
| | | |||||
* | | give explicitly global functions and classes a global __qualname__ (closes ↵ | Benjamin Peterson | 2013-10-19 | 1 | -0/+5 |
| | | | | | | | | #19301) | ||||
* | | Issue #18112: PEP 442 implementation (safe object finalization). | Antoine Pitrou | 2013-07-30 | 1 | -10/+0 |
| | | |||||
* | | #17115,17116: Have modules initialize the __package__ and __loader__ | Brett Cannon | 2013-05-04 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | attributes to None. The long-term goal is for people to be able to rely on these attributes existing and checking for None to see if they have been set. Since import itself sets these attributes when a loader does not the only instances when the attributes are None are from someone overloading __import__() and not using a loader or someone creating a module from scratch. This patch also unifies module initialization. Before you could have different attributes with default values depending on how the module object was created. Now the only way to not get the same default set of attributes is to circumvent initialization by calling ModuleType.__new__() directly. | ||||
* | | remove pointless change | Benjamin Peterson | 2013-04-13 | 1 | -1/+1 |
| | | |||||
* | | properly lookup the __round__ special method (closes #17722) | Benjamin Peterson | 2013-04-13 | 1 | -1/+2 |
|/ | |||||
* | Issue #16447: Fix potential segfault when setting __name__ on a class. | Mark Dickinson | 2013-04-13 | 1 | -0/+14 |
| | |||||
* | do safety checks on __qualname__ assignment | Benjamin Peterson | 2012-10-31 | 1 | -0/+8 |
| | |||||
* | don't shadow the __qualname__ descriptor with __qualname__ in the class's ↵ | Benjamin Peterson | 2012-10-31 | 1 | -4/+4 |
| | | | | __dict__ (closes #16271) | ||||
* | merge 3.2 (#14699) | Benjamin Peterson | 2012-05-01 | 1 | -0/+16 |
|\ | |||||
| * | fix calling the classmethod descriptor directly (closes #14699) | Benjamin Peterson | 2012-05-01 | 1 | -0/+16 |
| | | |||||
* | | merge 3.2 (#14658) | Benjamin Peterson | 2012-04-24 | 1 | -1/+9 |
|\ \ | |/ | |||||
| * | don't use a slot wrapper from a different special method (closes #14658) | Benjamin Peterson | 2012-04-24 | 1 | -1/+9 |
| | | | | | | | | | | | | | | This also alters the fix to #11603. Specifically, setting __repr__ to object.__str__ now raises a recursion RuntimeError when str() or repr() is called instead of silently bypassing the recursion. I believe this behavior is more correct. | ||||
* | | Issue #14386: Expose the dict_proxy internal type as types.MappingProxyType | Victor Stinner | 2012-04-15 | 1 | -2/+2 |
| | | |||||
* | | correctly lookup __trunc__ in int() constructor | Benjamin Peterson | 2012-03-21 | 1 | -0/+1 |
| | | |||||
* | | make extra arguments to object.__init__/__new__ to errors in most cases ↵ | Benjamin Peterson | 2012-03-17 | 1 | -0/+20 |
| | | | | | | | | (finishes #1683368) | ||||
* | | merge 3.2 (#14334) | Benjamin Peterson | 2012-03-16 | 1 | -0/+3 |
|\ \ | |/ | |||||
| * | check to make sure the attribute is a string (#14334) | Benjamin Peterson | 2012-03-16 | 1 | -0/+3 |
| | | |||||
* | | Close #14199: _PyType_Lookup() and super_getattro() keep a strong reference to | Victor Stinner | 2012-03-08 | 1 | -1/+29 |
| | | | | | | | | the type MRO to avoid a crash if the MRO is changed during the lookup. | ||||
* | | merge 3.2 (#3787e896dbe9) | Benjamin Peterson | 2012-03-08 | 1 | -2/+17 |
|\ \ | |/ | |||||
| * | allow cycles throught the __dict__ slot to be cleared (closes #1469629) | Benjamin Peterson | 2012-03-08 | 1 | -2/+17 |
| | | | | | | | | Patch from Armin, test from me. | ||||
| * | Fix use of deprecated assert_ method. | Georg Brandl | 2012-02-20 | 1 | -2/+2 |
| | | |||||
| * | Merge from 3.1: Issue #13703: add a way to randomize the hash values of ↵ | Georg Brandl | 2012-02-20 | 1 | -1/+11 |
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | basic types (str, bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior. | ||||
| | * | Issue #13703: add a way to randomize the hash values of basic types (str, ↵ | Georg Brandl | 2012-02-20 | 1 | -1/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior. | ||||
* | | | Close #14095: type.__new__() doesn't remove __qualname__ key from the class | Victor Stinner | 2012-02-25 | 1 | -3/+13 |
| | | | | | | | | | | | | | | | dict anymore if the key is present. Reject also non-string qualified names. And fix reference leaks in type.__new__(). | ||||
* | | | initialize __dict__ if needed | Benjamin Peterson | 2012-02-19 | 1 | -0/+2 |
| | | | |||||
* | | | allow arbitrary attributes on classmethod and staticmethod (closes #14051) | Benjamin Peterson | 2012-02-19 | 1 | -0/+13 |
| | | | |||||
* | | | Issue #13577: various kinds of descriptors now have a __qualname__ attribute. | Antoine Pitrou | 2011-12-12 | 1 | -0/+18 |
| | | | | | | | | | | | | Patch by sbt. | ||||
* | | | PEP 3155 / issue #13448: Qualified name for classes and functions. | Antoine Pitrou | 2011-11-25 | 1 | -3/+8 |
| | | | |||||
* | | | Merge issue 1294232 patch from 3.2 | Nick Coghlan | 2011-10-23 | 1 | -0/+168 |
|\ \ \ | |/ / | |||||
| * | | Issue 1294232: Fix errors in metaclass calculation affecting some cases of ↵ | Nick Coghlan | 2011-10-23 | 1 | -0/+168 |
| | | | | | | | | | | | | metaclass inheritance. Patch by Daniel Urban. | ||||
* | | | make __doc__ mutable on heaptypes (closes #12773) | Benjamin Peterson | 2011-08-17 | 1 | -0/+13 |
| | | | |||||
* | | | improve test name | Benjamin Peterson | 2011-08-17 | 1 | -1/+1 |
| | | | |||||
* | | | complain when a class variable shadows a name in __slots__ (closes #12766) | Benjamin Peterson | 2011-08-16 | 1 | -0/+8 |
| | | | |||||
* | | | Issue 12647: Add __bool__() method to the None object. | Raymond Hettinger | 2011-07-28 | 1 | -3/+0 |
| | | | |||||
* | | | Issue #11603: Fix a crash when __str__ is rebound as __repr__. | Antoine Pitrou | 2011-07-15 | 1 | -0/+8 |
|\ \ \ | |/ / | | | | | | | Patch by Andreas Stührk. | ||||
| * | | Issue #11603: Fix a crash when __str__ is rebound as __repr__. | Antoine Pitrou | 2011-07-15 | 1 | -0/+8 |
| |\ \ | | |/ | | | | | | | Patch by Andreas Stührk. |