290 Commits (656d52dbfde3223cd2a3525d652b6cccb02fa991)

Author SHA1 Message Date
Stefano Taschini 0301c9bdd1 Fix typo and edit for clarity in the docstrings of sys.float_info. (GH-2251) 8 years ago
Serhiy Storchaka 9b6c60cbce
bpo-31979: Simplify transforming decimals to ASCII (#4336) 8 years ago
Benjamin Peterson 2bb69a5b4e bpo-31373: remove overly strict float range checks (#3486) 8 years ago
Benjamin Peterson a853a8ba78 bpo-31373: fix undefined floating-point demotions (#3396) 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 18b250f844 bpo-29793: Convert some builtin types constructors to Argument Clinic. (#615) 9 years ago
Serhiy Storchaka b5c51d3dd9 bpo-20185: Convert float object implementation to Argument Clinic. (#543) 9 years ago
Serhiy Storchaka 2e5642422f bpo-29695: Remove bad keyword parameters in int(), bool(), float(), list() and tuple(). (#518) 9 years ago
Serhiy Storchaka 58d23e6806 bpo-29695: Deprecated using bad named keyword arguments in builtings: (#486) 9 years ago
Victor Stinner de4ae3d486 Backed out changeset b9c9691c72c5 9 years ago
Victor Stinner 27580c1fb5 Replace PyObject_CallFunctionObjArgs() with fastcall 9 years ago
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, 13 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. 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
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