328 Commits (d6cb5dd9e19210f5963ff8beadde7ca2fda71574)

Author SHA1 Message Date
Serhiy Storchaka 85b0f5beb1 Added the const qualifier to char* variables that refer to readonly internal 9 years ago
Serhiy Storchaka 06515833fe Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize 9 years ago
Brett Cannon a721abac29 Issue #26331: Implement the parsing part of PEP 515. 9 years ago
Mark Dickinson 7c4e409d07 Issue #11734: Add support for IEEE 754 half-precision floats to the struct module. Original patch by Eli Stevens. 9 years ago
Serhiy Storchaka 16931c3559 Issue #26983: float() now always return an instance of exact float. 10 years ago
Serhiy Storchaka 5787ef621a Issue #27005: Fixed the call of PyObject_CallFunctionObjArgs(). 10 years ago
Serhiy Storchaka 25885d1dc5 Issue #27005: Optimized the float.fromhex() class method for exact float. 10 years ago
Serhiy Storchaka 4e6aad1f7a Clean up float.as_integer_ratio(). 10 years ago
Serhiy Storchaka 0d250bc119 Issue #25971: Optimized creating Fractions from floats by 2 times and from 10 years ago
Serhiy Storchaka 15095800a3 Issue #24731: Fixed crash on converting objects with special methods 10 years ago
Martin Panter eeb896c411 Issue #24802: Copy bytes-like objects to null-terminated buffers if necessary 10 years ago
Steve Dower cb39d1f466 Issue 19933: Provide default argument for ndigits in round. Patch by Vajrasky Kok. 11 years ago
Benjamin Peterson a915723dc7 fix potential refleak in PyFloat_AsDouble (closes #23590) 11 years ago
Serhiy Storchaka 4fdb68491e Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer() 11 years ago
Serhiy Storchaka 20b39b27d9 Removed redundant casts to `char *`. 11 years ago
Christian Heimes d3afe781b1 Silence expression result unused warnings with clang. 12 years ago
Zachary Ware a4b7a7548c Issue #3158: doctest can now find doctests in functions and methods 12 years ago
Ezio Melotti a5b9599538 #17080: improve error message of float/complex when the wrong type is passed. 12 years ago
Ezio Melotti 7760b4eb4b #19069: use imperative mood in float object docstrings. Patch by Marco Buttu. 12 years ago
Serhiy Storchaka 9594942716 Issue #18783: Removed existing mentions of Python long type in docstrings, 12 years ago
Antoine Pitrou 9ed5f27266 Issue #18722: Remove uses of the "register" keyword in C code. 13 years ago
Victor Stinner 1c8f059019 Issue #18520: Add a new PyStructSequence_InitType2() function, same than 13 years ago
Victor Stinner 640c35ce13 Reuse Py_MIN and Py_MAX macros: remove duplicate MIN/MAX macros 13 years ago
Victor Stinner 8f674ccd64 Close #17694: Add minimum length to _PyUnicodeWriter 13 years ago
Ezio Melotti 3f5db3940f Fix a few typos and a double semicolon. Patch by Eitan Adler. 13 years ago
Mark Dickinson 115bc79df8 Issue #9742: Sneaky fix for build failure on Solaris 9. 13 years ago
David Malcolm 49526f48fc Issue #14785: Add sys._debugmallocstats() to help debug low-level memory allocation issues 14 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
Kristján Valur Jónsson daa06544c8 Issue #14435: Remove special block allocation code from floatobject.c 14 years ago
Mark Dickinson 1abe6cd842 Issue #13889: Add missing _Py_SET_53BIT_PRECISION_* calls around uses of dtoa.c functions in float round. 14 years ago
Mark Dickinson 261896b559 Issue #13889: Add missing _Py_SET_53BIT_PRECISION_* calls around uses of dtoa.c functions in float round. 14 years ago
Victor Stinner f5cff56a1b Issue #13088: Add shared Py_hexdigits constant to format a number into base 16 14 years ago
Martin v. Löwis d63a3b8beb Implement PEP 393. 14 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
Mark Dickinson 874d59ee91 Issue #11144: Fix corner cases where float-to-int conversion unnecessarily returned a long. 15 years ago
Jesus Cea 736e7fc0f6 Issue #11495: OSF support is eliminated. It was deprecated in Python 3.2 15 years ago
Brett Cannon b94767ff44 Issue #8914: fix various warnings from the Clang static analyzer v254. 15 years ago
Mark Dickinson 7b1bee47ae Use copysign to produce appropriately signed zeros instead of trying to worm around possible compiler optimizations. 15 years ago
Mark Dickinson 0169af1534 Merged revisions 87032 via svnmerge from 15 years ago
Mark Dickinson 33154388f9 Backout broken backport. (Sorry.) 15 years ago
Mark Dickinson 11e77ffcbc Merged revisions 87032 via svnmerge from 15 years ago
Mark Dickinson ecf8ec67ce Merged revisions 87032 via svnmerge from 15 years ago
Mark Dickinson d2a9b20efa Issue #10596: Fix float.__mod__ to have the same behaviour as 15 years ago
Mark Dickinson 66f2623fb2 Remove some unecessary '#ifdef Py_NAN's from floatobject.c 15 years ago
Alexander Belopolsky 942af5a9a4 Issue #10557: Fixed error messages from float() and other numeric 15 years ago
Georg Brandl 71c23d4473 Include structseq.h in Python.h, and remove now-redundant includes in individual sources. 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 21a1f734fb Style nit. 16 years ago