summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_descr.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-32379: Faster MRO computation for single inheritance (#4932)Antoine Pitrou2017-12-201-0/+6
| | | | * bpo-32379: Faster MRO computation for single inheritance
* bpo-29914: Fix default implementations of __reduce__ and __reduce_ex__(). (#843)Serhiy Storchaka2017-04-081-1/+14
| | | | object.__reduce__() no longer takes arguments, object.__reduce_ex__() now requires one argument.
* bpo-24329: allow __qualname__ and __classcell__ in __slots__ (GH-495)Xiang Zhang2017-03-081-0/+40
|
* bpo-29695: Fixed tests after removing keyword args support in some basic ↵Serhiy Storchaka2017-03-061-8/+14
| | | | type constructors. (GH-520)
* Merge from 3.6.Serhiy Storchaka2016-12-141-0/+2
|\
| * Revert changeset 1f31bf3f76f5 (issue5322) except tests.Serhiy Storchaka2016-12-141-0/+2
| |
* | Issue #5322: Fixed setting __new__ to a PyCFunction inside Python code.Serhiy Storchaka2016-12-071-0/+88
|\ \ | |/ | | | | Original patch by Andreas Stührk.
| * Issue #5322: Fixed setting __new__ to a PyCFunction inside Python code.Serhiy Storchaka2016-12-021-0/+88
| | | | | | | | Original patch by Andreas Stührk.
| * Issue #27895: Spelling fixes (Contributed by Ville Skyttä).Martin Panter2016-09-071-1/+1
| |
* | Implement compact dictVictor Stinner2016-09-081-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | Issue #27350: `dict` implementation is changed like PyPy. It is more compact and preserves insertion order. _PyDict_Dummy() function has been removed. Disable test_gdb: python-gdb.py is not updated yet to the new structure of compact dictionaries (issue #28023). Patch written by INADA Naoki.
* | Issue #27895: Spelling fixes (Contributed by Ville Skyttä).Raymond Hettinger2016-08-301-1/+1
| |
* | Backed out changeset af29d89083b3 (closes #25548) (closes #27498)Benjamin Peterson2016-07-141-2/+2
| |
* | Issue #25548: Showing memory address of class objects in replKushal Das2016-06-041-2/+2
| |
* | merge 3.5Benjamin Peterson2016-05-281-8/+0
|\ \ | |/
| * backout 3c9512d8ac0dBenjamin Peterson2016-05-281-8/+0
| |
* | Merge typo fixes from 3.5Martin Panter2016-05-081-1/+1
|\ \ | |/
| * Fix typos in comments, documentation and test method namesMartin Panter2016-05-081-1/+1
| |
* | merge 3.5 (#25731)Benjamin Peterson2016-01-191-0/+8
|\ \ | |/
| * set tp_new from the class in the hierarchy that actually owns the descriptor ↵Benjamin Peterson2016-01-191-0/+8
| | | | | | | | | | | | (closes #25731) Debugging by Eryk Sun.
* | Issue #24097: Fixed crash in object.__reduce__() if slot name is freed insideSerhiy Storchaka2015-11-251-0/+17
|\ \ | |/ | | | | __getattr__. Original patch by Antoine Pitrou.
| * Issue #24097: Fixed crash in object.__reduce__() if slot name is freed insideSerhiy Storchaka2015-11-251-0/+17
| |\ | | | | | | | | | __getattr__. Original patch by Antoine Pitrou.
| | * Issue #24097: Fixed crash in object.__reduce__() if slot name is freed insideSerhiy Storchaka2015-11-251-0/+17
| | | | | | | | | | | | __getattr__. Original patch by Antoine Pitrou.
* | | Issue #24164: Fixed test_descr: __getnewargs_ex__ now is supported in ↵Serhiy Storchaka2015-10-111-8/+1
|/ / | | | | | | protocols 2 and 3.
* | No longer skip tests for classes with __getnewargs_ex__. The copy moduleSerhiy Storchaka2015-10-111-4/+0
| | | | | | | | already supports reduce protocol 4 (issue #20289).
* | Cleanup test_descr: remove C8 that is the same as C3.Serhiy Storchaka2015-10-111-8/+0
|\ \ | |/
| * Cleanup test_descr: remove C8 that is the same as C3.Serhiy Storchaka2015-10-111-8/+0
| |
* | merge 3.4 (#24806)Benjamin Peterson2015-10-071-0/+31
|\ \ | |/
| * prevent unacceptable bases from becoming bases through multiple inheritance ↵Benjamin Peterson2015-10-071-0/+31
| | | | | | | | (#24806)
* | Issue #24912: Prevent __class__ assignment to immutable built-in objects.Guido van Rossum2015-09-051-0/+45
| |
* | Issue #19235: Add new RecursionError exception. Patch by Georg Brandl.Yury Selivanov2015-07-031-3/+3
| |
* | Issue #24064: Property() docstrings are now writeable.Raymond Hettinger2015-05-131-1/+4
| | | | | | | | (Patch by Berker Peksag.)
* | Issue #23726: Don't enable GC for user subclasses of non-GC types that don't ↵Antoine Pitrou2015-04-131-2/+0
| | | | | | | | | | | | add any new fields. Patch by Eugene Toder.
* | Issue #23641: Cleaned out legacy dunder names from tests and docs.Serhiy Storchaka2015-03-121-16/+9
|\ \ | |/ | | | | | | Fixed 2 to 3 porting bug in pynche.ColorDB. Added few tests for __truediv__, __floordiv__ and __matmul__.
| * Issue #23641: Cleaned out legacy dunder names from tests and docs.Serhiy Storchaka2015-03-121-16/+8
| | | | | | | | Fixed 2 to 3 porting bug in pynche.ColorDB.
* | merge 3.4 (#22735)Benjamin Peterson2015-02-061-1/+226
|\ \ | |/
| * fix many custom mro() edge cases and improve code quality (#22735)Benjamin Peterson2015-02-061-1/+226
| | | | | | | | Patch by Eldar Abusalimov.
* | allow changing __class__ between a heaptype and non-heaptype in some cases ↵Benjamin Peterson2015-01-301-0/+16
| | | | | | | | | | | | (closes #22986) Patch by Nathaniel Smith.
* | Issue #22783: Pickling now uses the NEWOBJ opcode instead of the NEWOBJ_EXSerhiy Storchaka2014-12-161-18/+7
| | | | | | | | opcode if possible.
* | use __qualname__ to compute bound method repr (closes #21389)Benjamin Peterson2014-08-201-0/+55
| | | | | | | | Patch from Steven Barker.
* | Merge.Charles-François Natali2014-06-201-1/+1
|\ \ | |/
| * Issue #21768: fix NameError in test_pydescr. Patch by Claudiu Popa.Terry Jan Reedy2014-06-201-1/+1
| |
* | PEP 465: a dedicated infix operator for matrix multiplication (closes #21176)Benjamin Peterson2014-04-101-0/+1
|/
* move SharedKeyTests to test_descrBenjamin Peterson2014-03-171-1/+23
|
* correct the fix for #20637; allow slot descriptor inheritance to take place ↵Benjamin Peterson2014-03-171-0/+8
| | | | before creating cached keys
* look up __getnewargs__ and __getnewargs_ex__ on the object type (#16251)Benjamin Peterson2014-02-161-0/+14
|
* Issue #20532: Tests which use _testcapi now are marked as CPython only.Serhiy Storchaka2014-02-071-0/+1
|\
| * Issue #20532: Tests which use _testcapi now are marked as CPython only.Serhiy Storchaka2014-02-071-0/+1
| |
* | Fix whitespaceAntoine Pitrou2013-11-231-3/+3
| |
* | Issue #17810: Implement PEP 3154, pickle protocol 4.Antoine Pitrou2013-11-231-172/+433
| | | | | | | | Most of the work is by Alexandre.
* | Implement PEP 451 (ModuleSpec).Eric Snow2013-11-221-1/+1
| |