175 Commits (d47f0dd2e85ce032aebfedbde18cdb2e728fa79f)

Author SHA1 Message Date
Paul Monson ff6bb0aa95 bpo-37236: pragma optimize off for _Py_c_quot on Windows arm64 (GH-13983) 7 years ago
Serhiy Storchaka bdbad71b9d
bpo-20092. Use __index__ in constructors of int, float and complex. (GH-13108) 7 years ago
Jeroen Demeyer 530f506ac9 bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) 7 years ago
Inada Naoki 7d408697a9
remove unnecessary tp_dealloc (GH-13647) 7 years ago
Serhiy Storchaka 96aeaec647
bpo-36793: Remove unneeded __str__ definitions. (GH-13081) 7 years ago
Victor Stinner b509d52083
bpo-35059: PyObject_INIT() casts to PyObject* (GH-10674) 7 years ago
Victor Stinner b4435e20a9
bpo-35059: Convert PyObject_INIT() to function (GH-10077) 7 years ago
Siddhesh Poyarekar 55edd0c185 bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. (GH-6030) 8 years ago
Serhiy Storchaka 9b6c60cbce
bpo-31979: Simplify transforming decimals to ASCII (#4336) 8 years ago
Serhiy Storchaka e2f92de6a9
Add the const qualifier to "char *" variables that refer to literal strings. (#4370) 8 years ago
Serhiy Storchaka bae6881b42 Update Argument Clinic generated code for bpo-29878. (#1001) 9 years ago
Serhiy Storchaka ba85d69a3e bpo-29878: Add global instances of int for 0 and 1. (#852) 9 years ago
Serhiy Storchaka 671079ef60 bpo-29894: Deprecate returning an instance of complex subclass from __complex__. (#798) 9 years ago
Serhiy Storchaka 18b250f844 bpo-29793: Convert some builtin types constructors to Argument Clinic. (#615) 9 years ago
Mark Dickinson 112ec38c15 bpo-29602: fix signed zero handling in complex constructor. (#203) 9 years ago
Victor Stinner f17c3de263 Use _PyObject_CallNoArg() 9 years ago
Victor Stinner de4ae3d486 Backed out changeset b9c9691c72c5 9 years ago
Victor Stinner 27580c1fb5 Replace PyObject_CallFunctionObjArgs() with fastcall 9 years ago
Mark Dickinson 613f8e513c Issue #28203: Fix incorrect type in error message from complex(1.0, {2:3}). Patch by Soumya Sharma. 9 years ago
Brett Cannon a721abac29 Issue #26331: Implement the parsing part of PEP 515. 9 years ago
Martin Panter eeb896c411 Issue #24802: Copy bytes-like objects to null-terminated buffers if necessary 10 years ago
Serhiy Storchaka 4fdb68491e Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer() 11 years ago
Antoine Pitrou 9086f9260f Issue #22604: Fix assertion error in debug mode when dividing a complex number by (nan+0j). 11 years ago
Antoine Pitrou 1eee8e5207 Issue #21803: remove macro indirections in complexobject.h 12 years ago
Christian Heimes d3afe781b1 Silence expression result unused warnings with clang. 12 years ago
Ezio Melotti a5b9599538 #17080: improve error message of float/complex when the wrong type is passed. 12 years ago
Ezio Melotti 488d244e1a #19068: use imperative mood in complex object docstrings. Patch by Marco Buttu. 12 years ago
Antoine Pitrou 9ed5f27266 Issue #18722: Remove uses of the "register" keyword in C code. 13 years ago
Victor Stinner 8f674ccd64 Close #17694: Add minimum length to _PyUnicodeWriter 13 years ago
Mark Dickinson d20fb82195 Issue #16290: __complex__ must now always return an instance of complex. 13 years ago
Victor Stinner d3f0882dfb Issue #14744: Use the new _PyUnicodeWriter internal API to speed up str%args and str.format(args) 14 years ago
Benjamin Peterson ce79852077 use the static identifier api for looking up special methods 14 years ago
Martin v. Löwis d63a3b8beb Implement PEP 393. 15 years ago
Brian Curtin dfc80e3d97 Replace Py_NotImplemented returns with the macro form Py_RETURN_NOTIMPLEMENTED. 15 years ago
Jesus Cea 2fc8b87499 Port 5b607cd8c71b (closes #11892) 15 years ago
Victor Stinner 6ced7c4333 Issue #10833: Use PyErr_Format() and PyUnicode_FromFormat() instead of 15 years ago
Eric Smith 70099a1555 Removed static function complex_format, moved it into complex_repr. Modified tests to check both str and repr, which are the same for complex. 15 years ago
Alexander Belopolsky 942af5a9a4 Issue #10557: Fixed error messages from float() and other numeric 15 years ago
Victor Stinner f961377e99 #6780: fix complex() constructor TypeError message 15 years ago
Benjamin Peterson 8035bc5c04 follow up to #9778: define and use an unsigned hash type 15 years ago
Benjamin Peterson 8f67d0893f make hashes always the size of pointers; introduce Py_hash_t #9778 15 years ago
Mark Dickinson 388122d43b Issue #9337: Make float.__str__ identical to float.__repr__. 16 years ago
Mark Dickinson 4ca7c3c089 Issue #8748: Fix incorrect results from comparisons between an integer 16 years ago
Mark Dickinson 4b3035d0b8 Remove declaration for unused variable. 16 years ago
Mark Dickinson 813363743d Issue #5211: Complete removal of implicit coercions for the complex 16 years ago
Mark Dickinson dc787d2055 Issue #8188: Introduce a new scheme for computing hashes of numbers 16 years ago
Mark Dickinson cc6a982de8 Issue #8748: Fix two issues with comparisons between complex and integer 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
Antoine Pitrou c7c96a90bc Recorded merge of revisions 81029 via svnmerge from 16 years ago