454 Commits (23a580fd7886bb5de8ea1bb14afa7225ea26ea56)

Author SHA1 Message Date
Martin v. Löwis 1ee1b6fe0d Use identifier API for PyObject_GetAttrString. 15 years ago
Martin v. Löwis afe55bba33 Add API for static strings, primarily good for identifiers. 15 years ago
Victor Stinner 639418812f Use the new Py_ARRAY_LENGTH macro 15 years ago
Ezio Melotti 2aa2b3b4d5 Clean up a few tabs that went in with PEP393. 15 years ago
Martin v. Löwis d63a3b8beb Implement PEP 393. 15 years ago
Benjamin Peterson 01fc6cd056 make __doc__ mutable on heaptypes (closes #12773) 15 years ago
Benjamin Peterson d9f23d2004 factor out common checks for setting special type attributes 15 years ago
Benjamin Peterson d17cefc787 crush other possible refleaks in this section 15 years ago
Benjamin Peterson ae13c88d8d fix possible refleaks 15 years ago
Benjamin Peterson c4085c8470 complain when a class variable shadows a name in __slots__ (closes #12766) 15 years ago
Brian Curtin dfc80e3d97 Replace Py_NotImplemented returns with the macro form Py_RETURN_NOTIMPLEMENTED. 15 years ago
Antoine Pitrou 8cdc40e3b0 Issue #11603: Fix a crash when __str__ is rebound as __repr__. 15 years ago
Antoine Pitrou 84f1b1718d Issue #12149: Update the method cache after a type's dictionnary gets 15 years ago
Benjamin Peterson f5ff22329b use a invalid name for the __class__ closure for super() (closes #12370) 15 years ago
Benjamin Peterson c7284122be indicate return value on __dir__ methods 15 years ago
Benjamin Peterson fbe56bb8bd use '->' to indicate return values 15 years ago
Benjamin Peterson 82b00c1d30 move specialized dir implementations into __dir__ methods (closes #12166) 15 years ago
Ezio Melotti 13925008dc #11565: Fix several typos. Patch by Piotr Kasprzyk. 15 years ago
Eric V. Smith b9cd3531c4 Issue 9856: Change object.__format__ with a non-empty format string from a PendingDeprecationWarning to a DeprecationWarning. 15 years ago
Antoine Pitrou 16c4ce1903 Issue #9935: Speed up pickling of instances of user-defined classes. 15 years ago
Victor Stinner f3fd733f92 Remove useless argument of _PyUnicode_AsDefaultEncodedString() 15 years ago
Brett Cannon b94767ff44 Issue #8914: fix various warnings from the Clang static analyzer v254. 15 years ago
Martin v. Löwis 7be5b78b4f Merged revisions 88456 via svnmerge from 15 years ago
Martin v. Löwis 5e06a5d4cd - Check for NULL result in PyType_FromSpec. 15 years ago
Georg Brandl 032400b2d8 #11249: in PyType_FromSpec, copy tp_doc slot since it usually will point to a static string literal which should not be deallocated together with the type. 15 years ago
Martin v. Löwis 738236dbd6 Issue #11067: Add PyType_GetFlags, to support PyUnicode_Check 15 years ago
Benjamin Peterson 32a8fe8b56 Merged revisions 88069 via svnmerge from 15 years ago
Benjamin Peterson 37b9e46a04 remove unneeded assertion 15 years ago
Benjamin Peterson d82f45b720 Merged revisions 88066 via svnmerge from 15 years ago
Benjamin Peterson 0dd5ca0882 correct assertion 15 years ago
Benjamin Peterson acd17591f5 Merged revisions 88063 via svnmerge from 15 years ago
Benjamin Peterson 67641d25d4 turn some checks into assertions, since they are implied by the caller 15 years ago
Benjamin Peterson a53d2acb3d Merged revisions 87960 via svnmerge from 15 years ago
Benjamin Peterson 23b628ed0b use PyErr_SetString instead of PyErr_Format 15 years ago
Benjamin Peterson de368717da Merged revisions 87952-87954 via svnmerge from 15 years ago
Benjamin Peterson 477ba919c1 don't segfault on deleting __abstractmethods__ #10892 15 years ago
Victor Stinner 0fcab4a3ed Issue #9566: use Py_ssize_t instead of int 15 years ago
Martin v. Löwis 4d0d471a80 Merge branches/pep-0384. 15 years ago
Benjamin Peterson 8035bc5c04 follow up to #9778: define and use an unsigned hash type 16 years ago
Antoine Pitrou ff150f2921 Revert r85797 (and r85798): it broke the Windows buildbots because of 16 years ago
Antoine Pitrou 7eecffd05d Issue #9935: Speed up pickling of instances of user-defined classes. 16 years ago
Benjamin Peterson e7dfeeb889 -1 is reserved for errors 16 years ago
Benjamin Peterson 8f67d0893f make hashes always the size of pointers; introduce Py_hash_t #9778 16 years ago
Benjamin Peterson 866c74e3d6 Merged revisions 85193 via svnmerge from 16 years ago
Benjamin Peterson 84060b81e3 typo 16 years ago
Benjamin Peterson 0ad44fa3f7 Merged revisions 85154,85182 via svnmerge from 16 years ago
Benjamin Peterson aec5fd1397 type.__abstractmethods__ should raise an AttributeError #10006 16 years ago
Mark Dickinson a67c70d4a9 Merged revisions 84984 via svnmerge from 16 years ago
Mark Dickinson b09a3d69a6 Issue #9930: Remove an unnecessary type check in wrap_binaryfunc_r; 16 years ago
Eric Smith e4d6317c87 Issue 7994: Make object.__format__() raise a PendingDeprecationWarning 16 years ago