Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #20532: Tests which use _testcapi now are marked as CPython only. | Serhiy Storchaka | 2014-02-07 | 1 | -0/+1 |
| | |||||
* | Issue #19572: More silently skipped tests explicitly skipped. | Zachary Ware | 2013-12-10 | 1 | -1/+2 |
| | |||||
* | Issue #19603: Use specific asserts in test_decr. | Serhiy Storchaka | 2013-11-17 | 1 | -159/+174 |
| | |||||
* | Issue #16447: Fix potential segfault when setting __name__ on a class. | Mark Dickinson | 2013-04-13 | 1 | -0/+14 |
| | |||||
* | fix calling the classmethod descriptor directly (closes #14699) | Benjamin Peterson | 2012-05-01 | 1 | -0/+16 |
| | |||||
* | 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. | ||||
* | check to make sure the attribute is a string (#14334) | Benjamin Peterson | 2012-03-16 | 1 | -0/+3 |
| | |||||
* | 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. | ||||
* | Issue #11603: Fix a crash when __str__ is rebound as __repr__. | Antoine Pitrou | 2011-07-15 | 1 | -0/+8 |
| | | | | Patch by Andreas Stührk. | ||||
* | Fixup repr for dict_proxy objects. | Raymond Hettinger | 2011-06-29 | 1 | -0/+4 |
| | |||||
* | correctly lookup __dir__ | Benjamin Peterson | 2011-05-23 | 1 | -0/+1 |
| | |||||
* | (Merge 3.1) Issue #9756: When calling a method descriptor or a slot wrapper | Victor Stinner | 2011-05-01 | 1 | -0/+16 |
| | | | | | | descriptor, the check of the object type doesn't read the __class__ attribute anymore. Fix a crash if a class override its __class__ attribute (e.g. a proxy of the str type). | ||||
* | #11565: Fix several typos. Patch by Piotr Kasprzyk. | Ezio Melotti | 2011-03-16 | 1 | -1/+1 |
| | |||||
* | #11515: fix several typos. Patch by Piotr Kasprzyk. | Ezio Melotti | 2011-03-15 | 1 | -1/+1 |
| | |||||
* | Merged revisions 87952-87954 via svnmerge from | Benjamin Peterson | 2011-01-12 | 1 | -0/+11 |
| | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87952 | benjamin.peterson | 2011-01-12 09:24:27 -0600 (Wed, 12 Jan 2011) | 1 line move this test to test_descr; it's not abc specific ........ r87953 | benjamin.peterson | 2011-01-12 09:25:02 -0600 (Wed, 12 Jan 2011) | 1 line oops, wrong class ........ r87954 | benjamin.peterson | 2011-01-12 09:34:01 -0600 (Wed, 12 Jan 2011) | 1 line don't segfault on deleting __abstractmethods__ #10892 ........ | ||||
* | Merged revisions 86596 via svnmerge from | Ezio Melotti | 2010-11-21 | 1 | -4/+4 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line #9424: Replace deprecated assert* methods in the Python test suite. ........ | ||||
* | Issue #8627: remove out-of-date warning about overriding __cmp__ | Mark Dickinson | 2010-06-05 | 1 | -1/+0 |
| | |||||
* | properly lookup the __format__ special method | Benjamin Peterson | 2010-06-05 | 1 | -0/+3 |
| | |||||
* | Replace catch_warnings with check_warnings when it makes sense. Use ↵ | Florent Xicluna | 2010-03-31 | 1 | -12/+6 |
| | | | | assertRaises context manager to simplify some tests. | ||||
* | #7092 - Silence more py3k deprecation warnings, using ↵ | Florent Xicluna | 2010-03-21 | 1 | -3/+8 |
| | | | | test_support.check_py3k_warnings() helper. | ||||
* | Issue 6292: for the moment at least, the test suite passes if run | R. David Murray | 2010-02-23 | 1 | -0/+4 |
| | | | | | | with -OO. Tests requiring docstrings are skipped. Patch by Brian Curtin, thanks to Matias Torchinsky for helping review and improve the patch. | ||||
* | Remove unused imports in test modules. | Georg Brandl | 2010-02-07 | 1 | -10/+1 |
| | |||||
* | check type_getattro for correctness in a descriptor corner case | Benjamin Peterson | 2010-02-06 | 1 | -0/+9 |
| | |||||
* | use assert[Not]IsInstance where appropriate | Ezio Melotti | 2010-01-24 | 1 | -13/+13 |
| | |||||
* | use assert[Not]In where appropriate | Ezio Melotti | 2010-01-23 | 1 | -26/+26 |
| | |||||
* | data descriptors do not override the class dictionary if __get__ is not defined | Benjamin Peterson | 2010-01-18 | 1 | -0/+20 |
| | | | | | | | Adjust documentation and add a test to verify this behavior. See http://mail.python.org/pipermail/python-dev/2010-January/095637.html for discussion. | ||||
* | Reverting the Revision: 77368. I committed Flox's big patch for tests by | Senthil Kumaran | 2010-01-08 | 1 | -13/+3 |
| | | | | mistake. ( It may come in for sure tough) | ||||
* | Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. ↵ | Senthil Kumaran | 2010-01-08 | 1 | -3/+13 |
| | | | | Patch by flox | ||||
* | do correct lookup of the __complex__ method | Benjamin Peterson | 2010-01-04 | 1 | -0/+3 |
| | |||||
* | check if the attribute is set before deleting it with T_OBJECT_EX (fixes #7604) | Benjamin Peterson | 2009-12-30 | 1 | -0/+5 |
| | | | | | Also, add a note to the docs about the better behavior of T_OBJECT_EX as compared to T_OBJECT. | ||||
* | fix the ignoring of __cmp__ method on metaclasses #7491 | Benjamin Peterson | 2009-12-13 | 1 | -0/+9 |
| | |||||
* | Correctly restore sys.stdout in test_descr | Nick Coghlan | 2009-10-17 | 1 | -0/+3 |
| | |||||
* | remove the check that classmethod's argument is a callable | Benjamin Peterson | 2009-09-01 | 1 | -7/+3 |
| | |||||
* | convert usage of fail* to assert* | Benjamin Peterson | 2009-06-30 | 1 | -162/+162 |
| | |||||
* | correctly handle descrs with __missing__ | Benjamin Peterson | 2009-05-27 | 1 | -2/+12 |
| | |||||
* | add a SETUP_WITH opcode | Benjamin Peterson | 2009-05-25 | 1 | -5/+3 |
| | | | | | It speeds up the with statement and correctly looks up the special methods involved. | ||||
* | handle errors from _PyObject_LookupSpecial when __get__ fails | Benjamin Peterson | 2009-05-25 | 1 | -1/+17 |
| | |||||
* | properly lookup __instancecheck__ and __subclasscheck__ | Benjamin Peterson | 2009-05-16 | 1 | -6/+17 |
| | |||||
* | convert some more special methods to use _PyObject_LookupSpecial | Benjamin Peterson | 2009-05-09 | 1 | -3/+15 |
| | |||||
* | lookup __reversed__ correctly as a special method | Benjamin Peterson | 2009-05-09 | 1 | -0/+3 |
| | |||||
* | fix this test | Benjamin Peterson | 2009-05-08 | 1 | -4/+2 |
| | |||||
* | add _PyObject_LookupSpecial to handle fetching special method lookup | Benjamin Peterson | 2009-05-08 | 1 | -0/+52 |
| | |||||
* | fix a segfault when setting __class__ in __del__ #5283 | Benjamin Peterson | 2009-04-25 | 1 | -0/+10 |
| | |||||
* | move test to a more appropiate one | Benjamin Peterson | 2009-04-18 | 1 | -25/+30 |
| | |||||
* | try to initalize all builtin types with PyType_Ready to avoid problems like ↵ | Benjamin Peterson | 2009-04-18 | 1 | -0/+12 |
| | | | | #5787 | ||||
* | apply the second part of #4242's patch; classify all the implementation ↵ | Benjamin Peterson | 2009-03-26 | 1 | -45/+109 |
| | | | | details in test_descr | ||||
* | when __getattr__ is a descriptor, call it correctly; fixes #4230 | Benjamin Peterson | 2008-11-17 | 1 | -0/+40 |
| | | | | patch from Ziga Seilnacht | ||||
* | Fix one of the tests: it relied on being present in an "output test" in | Armin Rigo | 2008-10-28 | 1 | -7/+3 |
| | | | | | | order to actually test what it was supposed to test, i.e. that the code in the __del__ method did not crash. Use instead the new helper test_support.captured_output(). | ||||
* | Issue 2235: Py3k warnings are now emitted for classes that will no longer ↵ | Nick Coghlan | 2008-08-11 | 1 | -0/+5 |
| | | | | inherit a__hash__ implementation from a parent class in Python 3.x. The standard library and test suite have been updated to not emit these warnings. | ||||
* | Issue 2235: __hash__ is once again inherited by default, but inheritance can ↵ | Nick Coghlan | 2008-07-15 | 1 | -0/+8 |
| | | | | be blocked explicitly so that collections.Hashable remains meaningful |