360 Commits (d1cd99b533a32e063fc4602c439da334d5a10331)

Author SHA1 Message Date
Benjamin Peterson ce79852077 use the static identifier api for looking up special methods 15 years ago
Benjamin Peterson bfebb7b54a improve abstract property support (closes #11610) 15 years ago
Victor Stinner 0a54cf12a0 Fix PyObject_Repr(): don't call PyUnicode_READY() if res is NULL 15 years ago
Victor Stinner db88ae5d66 PyObject_Repr() ensures that the result is a ready Unicode string 15 years ago
Antoine Pitrou ce4a9da705 Issue #13411: memoryview objects are now hashable when the underlying object is hashable. 15 years ago
Victor Stinner 4ead7c7be8 PyObject_Str() ensures that the result string is ready 15 years ago
Martin v. Löwis d10759f6ed Make _PyUnicode_FromId return borrowed references. 15 years ago
Martin v. Löwis afe55bba33 Add API for static strings, primarily good for identifiers. 15 years ago
Martin v. Löwis d63a3b8beb Implement PEP 393. 15 years ago
Benjamin Peterson eff61f6927 make sure to initialize the method wrapper type 15 years ago
Brian Curtin dfc80e3d97 Replace Py_NotImplemented returns with the macro form Py_RETURN_NOTIMPLEMENTED. 15 years ago
Benjamin Peterson 43a976e3d9 remove duplicated type ready 15 years ago
Benjamin Peterson 18d7d7a217 also make NotImplementedType callable 15 years ago
Benjamin Peterson c4607aeedd make the types of None and Ellipsis callable 15 years ago
Raymond Hettinger 66d2be8986 Issue 12647: Add __bool__() method to the None object. 15 years ago
Benjamin Peterson 722954a3d3 quaint and completely out of date comment 15 years ago
Benjamin Peterson 3bbb722654 allow __dir__ to return any sequence 15 years ago
Benjamin Peterson 82b00c1d30 move specialized dir implementations into __dir__ methods (closes #12166) 15 years ago
Benjamin Peterson 7963a35b41 correctly lookup __dir__ 15 years ago
Éric Araujo be3bd57ba2 Remove traces of division_warning left over from Python 2 (#10998) 15 years ago
Martin v. Löwis 4d0d471a80 Merge branches/pep-0384. 16 years ago
Georg Brandl e5b99f0fb3 Remove redundant includes of headers that are already included by Python.h. 16 years ago
Benjamin Peterson 8035bc5c04 follow up to #9778: define and use an unsigned hash type 16 years ago
Benjamin Peterson 8f67d0893f make hashes always the size of pointers; introduce Py_hash_t #9778 16 years ago
Victor Stinner f3170ccef8 Use locale encoding if Py_FileSystemDefaultEncoding is not set 16 years ago
Victor Stinner c39211f51e Issue #9630: Redecode filenames when setting the filesystem encoding 16 years ago
Benjamin Peterson 42bc69154f Merged revisions 84717 via svnmerge from 16 years ago
Benjamin Peterson 41ece39c21 fix formatting 16 years ago
Antoine Pitrou fcd2a7960c Merged revisions 84344 via svnmerge from 16 years ago
Antoine Pitrou 1a9a9d5433 Issue #1868: Eliminate subtle timing issues in thread-local objects by 16 years ago
Antoine Pitrou cf0bcd1ab8 Merged revisions 83184 via svnmerge from 16 years ago
Antoine Pitrou c47bd4a09a Issue #9294: remove dead code in Objects/object.c. Patch by Grant Limberg. 16 years ago
Mark Dickinson dc787d2055 Issue #8188: Introduce a new scheme for computing hashes of numbers 16 years ago
Mark Dickinson fff532bef3 Issue #8749: remove unused code in Objects/object.c. Thanks Yaniv Aknin. 16 years ago
Victor Stinner 2e71d014ea Merged revisions 81250-81253 via svnmerge from 16 years ago
Victor Stinner ba6b430bd0 Fix refleak in internal_print() introduced by myself in r81251 16 years ago
Victor Stinner 372ac5e732 PyObject_Dump() encodes unicode objects to utf8 with backslashreplace (instead 16 years ago
Antoine Pitrou 7f14f0d8a0 Recorded merge of revisions 81032 via svnmerge from 16 years ago
Antoine Pitrou f95a1b3c53 Recorded merge of revisions 81029 via svnmerge from 16 years ago
Mark Dickinson 1472150cc2 Merged revisions 79809 via svnmerge from 16 years ago
Mark Dickinson 5daab45158 Merged revisions 79804 via svnmerge from 16 years ago
Victor Stinner 7f045cfba3 Merged revisions 78876 via svnmerge from 16 years ago
Victor Stinner 624dbf6220 Issue #6697: catch _PyUnicode_AsString() errors in getattr() and setattr() 16 years ago
Mark Dickinson adef1ba534 Merged revisions 76663 via svnmerge from 17 years ago
Mark Dickinson 6711493e40 Issue #7430: Remove lingering reference to cmp in recursion error message. 17 years ago
Mark Dickinson 6f1d04945b Issue #6970: Remove redundant calls made when comparing objects. 17 years ago
Skip Montanaro ba1e0f46ab Issue 7147 - remove ability to attempt to build Python without complex number support (was broken anyway) 17 years ago
Benjamin Peterson 044446b67c Merged revisions 74459 via svnmerge from 17 years ago
Benjamin Peterson 1432771d55 Merged revisions 74457 via svnmerge from 17 years ago
Benjamin Peterson 6e5b0a1140 remove reference to PyCObject 17 years ago