541 Commits (0cb8e5131d0797d3bdb1494de842e98798174cf2)

Author SHA1 Message Date
Antoine Pitrou 91541931f5 Back out 5bd9db528aed (issue #18408). It caused unsolved buildbot failures. 13 years ago
Antoine Pitrou 796564c27b Issue #18112: PEP 442 implementation (safe object finalization). 13 years ago
Christian Heimes de4d183955 Issue #18327: Fix argument order in call to compatible_for_assignment(oldto, newto, attr). 13 years ago
Victor Stinner 8e47832737 Issue #18408: PyObject_Str(), PyObject_Repr() and type_call() now fail with an 13 years ago
Victor Stinner 5967bf4928 Issue #18408: Fix PyType_Ready(), handle _PyDict_SetItemId() failure 13 years ago
Victor Stinner 3997cfdb7f Cleanup type_call() to ease debug 13 years ago
Victor Stinner 53510cda59 Issue #18408: type_new() and PyType_FromSpecWithBases() now raise MemoryError 13 years ago
Victor Stinner a41f085144 Issue #18408: pmerge() help of mro_implementation() now raises MemoryError on 13 years ago
Victor Stinner 2e8474ddde Issue #18408: slot_tp_str() must not fallback on slot_tp_repr() on error 13 years ago
Victor Stinner 54e4ca76c9 typeobject.c: remove trailing spaces 13 years ago
Victor Stinner 9812af8e72 Issue #18408: Fix PyType_Ready() and type.__bases__ setter to handle 13 years ago
Benjamin Peterson e1b4cbc422 when arguments are cells clear the locals slot (backport of #17927) 13 years ago
Benjamin Peterson 159ae41da6 when an argument is a cell, set the local copy to NULL (see #17927) 13 years ago
Guido van Rossum 6832c81d5d #17927: Keep frame from referencing cell-ified arguments. 13 years ago
Antoine Pitrou 957a23b088 Issue #17408: Avoid using an obsolete instance of the copyreg module when the interpreter is shutdown and then started again. 13 years ago
Mark Dickinson 64aafeb4de Issue #16447: Fix potential segfault when setting __name__ on a class. 13 years ago
Benjamin Peterson 6395241471 list slotdefs in offset order rather than sorting them (closes #17610) 13 years ago
R David Murray 5aff27aec1 #7963: fix error message when 'object' called with arguments. 13 years ago
R David Murray 6b30759022 #7963: fix error message when 'object' called with arguments. 13 years ago
Raymond Hettinger ac7b49f407 Improve tooltips by listing the most common argument pattern first. 13 years ago
Andrew Svetlov 3ba3a3ee56 Issue #15422: get rid of PyCFunction_New macro 13 years ago
Andrew Svetlov 2cd8ce4690 Issue #9856: Replace deprecation warinigs to raising TypeError in object.__format__ 13 years ago
Benjamin Peterson 2c05a2e01b do safety checks on __qualname__ assignment 14 years ago
Benjamin Peterson 8afa7fa510 don't shadow the __qualname__ descriptor with __qualname__ in the class's __dict__ (closes #16271) 14 years ago
Victor Stinner 4ca1cf35fb Issue #16086: PyTypeObject.tp_flags and PyType_Spec.flags are now unsigned 14 years ago
Trent Nelson ab02db23b1 Silence compiler warnings on Solaris 10 via explicit (void *) casts. 14 years ago
Christian Heimes e81dc296f2 Fixed memory leak in error branch of object_repr which may leak a reference to mod when type_name returns NULL. CID 715371 14 years ago
Christian Heimes 47770ed914 Fixed memory leak in error branch of object_repr which may leak a reference to mod when type_name returns NULL. CID 715371 14 years ago
Christian Heimes a0e7e41cba Fixed possible reference leak to mod when type_name() returns NULL 14 years ago
Christian Heimes 4e80eea60e Fixed possible reference leak to mod when type_name() returns NULL 14 years ago
Antoine Pitrou 58098a77e6 Issue #13992: The trashcan mechanism is now thread-safe. This eliminates 14 years ago
Antoine Pitrou 56cd62c04a Issue #13992: The trashcan mechanism is now thread-safe. This eliminates 14 years ago
Antoine Pitrou 2b0218a259 Issue #13992: The trashcan mechanism is now thread-safe. This eliminates 14 years ago
Benjamin Peterson 6a42bd67d7 Make super() internal errors RuntimeError instead of SystemError (closes #15839) 14 years ago
Antoine Pitrou 6f430e4963 Issue #15604: Update uses of PyObject_IsTrue() to check for and handle errors correctly. 14 years ago
Antoine Pitrou c5bef75c77 Issue #15604: Update uses of PyObject_IsTrue() to check for and handle errors correctly. 14 years ago
Antoine Pitrou 66a3a7ed10 Try to fix crash on x86 OpenIndiana buildbot. 14 years ago
Antoine Pitrou 1351ca6e66 Replace assert() with a more informative fatal error. 14 years ago
Antoine Pitrou bb78f57c14 Use struct member (ht_type) instead of casting pointers. 14 years ago
Martin v. Löwis 9c56409d33 Issue #15146: Add PyType_FromSpecWithBases. Patch by Robin Schreiber. 14 years ago
Antoine Pitrou 99cc629969 Issue #15142: Fix reference leak when deallocating instances of types created using PyType_FromSpec(). 14 years ago
Nick Coghlan 0b43bcf528 Close #14857: fix regression in references to PEP 3135 implicit __class__ closure variable. Reopens issue #12370, but also updates unittest.mock to workaround that issue 14 years ago
Antoine Pitrou a1433fed8e Remove tab characters 14 years ago
Antoine Pitrou 682d94c11a Use size_t, not ssize_t (issue #14801). 14 years ago
Benjamin Peterson f1ae5cf5c7 fix possible refleak (closes #14752) 14 years ago
Benjamin Peterson 89a6e9a27b fix possible refleak (closes #14752) 14 years ago
Benjamin Peterson 64acccf46d decref cached keys on type deallocation (#13903) 14 years ago
Martin v. Loewis 4f2f3b6217 Account for shared keys in type's __sizeof__ (#13903). 14 years ago
Benjamin Peterson 7b1668735a don't use a slot wrapper from a different special method (closes #14658) 14 years ago
Benjamin Peterson d157a4c3dd don't use a slot wrapper from a different special method (closes #14658) 14 years ago