| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Avoid undefined behaviour due to overflow in i_divmod (Objects/intobject.c). | Mark Dickinson | 2009-12-04 | 1 | -1/+10 |
| | | |||||
| * | disable pymalloc tricks with the --with-valgrind option #2422 | Benjamin Peterson | 2009-12-03 | 1 | -0/+39 |
| | | | | | Patch from James Henstridge. | ||||
| * | Issue #7406: Fix some occurrences of potential signed overflow in int | Mark Dickinson | 2009-12-02 | 1 | -3/+6 |
| | | | | | arithmetic. | ||||
| * | Issue #3382: Make '%F' and float.__format__('F') convert results to upper ↵ | Eric Smith | 2009-11-29 | 3 | -18/+0 |
| | | | | | case. Much of the patch came from Mark Dickinson. | ||||
| * | Include ieeefp.h (when available) in pyport.h instead of individually in | Mark Dickinson | 2009-11-28 | 2 | -8/+0 |
| | | | | | | | Objects/floatobject.c and Objects/complexobject.c. This should silence compiler warnings about implicit declaration of the 'finite' function on Solaris. | ||||
| * | Issue #7117, continued: Remove substitution of %g-style formatting for | Mark Dickinson | 2009-11-23 | 3 | -12/+0 |
| | | | | | | %f-style formatting, which used to occur at high precision. Float formatting should now be consistent between 2.7 and 3.1. | ||||
| * | Remove restriction on precision when formatting floats. This is the | Mark Dickinson | 2009-11-23 | 2 | -114/+42 |
| | | | | | | first step towards removing the %f -> %g switch (see issues 7117, 5859). | ||||
| * | #5037 proxy __unicode__ correctly | Benjamin Peterson | 2009-11-19 | 1 | -0/+17 |
| | | |||||
| * | Issue 7263: Fix set.intersection() docstring. | Raymond Hettinger | 2009-11-18 | 1 | -2/+2 |
| | | |||||
| * | Issue #7117, continued: Change round implementation to use the ↵ | Mark Dickinson | 2009-11-18 | 1 | -0/+196 |
| | | | | | | | | | correctly-rounded string <-> float conversions; this makes sure that the result of the round operation is correctly rounded, and hence displays nicely using the new float repr. | ||||
| * | Silence another MSVC warning about unary minus. | Mark Dickinson | 2009-11-16 | 1 | -1/+1 |
| | | |||||
| * | Silence MSVC warning about unary minus applied to unsigned type. | Mark Dickinson | 2009-11-16 | 1 | -1/+1 |
| | | |||||
| * | Issue #7228: Add '%lld' and '%llu' support to PyFormat_FromString, | Mark Dickinson | 2009-11-15 | 1 | -12/+59 |
| | | | | | PyFormat_FromStringV and PyErr_Format. | ||||
| * | Avoid signed overflow in some xrange calculations, and extend | Mark Dickinson | 2009-11-15 | 1 | -34/+44 |
| | | | | | | | xrange tests to cover some special cases that caused problems in py3k. This is a partial backport of r76292-76293 (see issue #7298.) | ||||
| * | grant list.index() a more informative error message #7252 | Benjamin Peterson | 2009-11-02 | 1 | -2/+16 |
| | | |||||
| * | prevent a rather unlikely segfault | Benjamin Peterson | 2009-11-02 | 1 | -2/+8 |
| | | |||||
| * | Issue #7117: Use PyOS_string_to_double instead of PyOS_ascii_strtod in | Mark Dickinson | 2009-10-26 | 1 | -16/+29 |
| | | | | | | complexobject.c. Also remove length restriction on unicode inputs to the complex constructor. | ||||
| * | Issue #7117: Use PyOS_string_to_double instead of PyOS_ascii_strtod in | Mark Dickinson | 2009-10-26 | 1 | -35/+24 |
| | | | | | | floatobject.c. Also, remove limitation on length of unicode inputs to float(). | ||||
| * | Finished removing _PyOS_double_to_string, as mentioned in issue 7117. | Eric Smith | 2009-10-26 | 2 | -17/+28 |
| | | |||||
| * | Start to remove _PyOS_double_to_string, as mentioned in issue 7117. | Eric Smith | 2009-10-26 | 1 | -22/+36 |
| | | |||||
| * | Issue #1087418: Small performance boost for bitwise operations on longs. | Mark Dickinson | 2009-10-25 | 1 | -66/+100 |
| | | | | | Initial patch by Gregory Smith; some tweaks added. | ||||
| * | Removed unused function PyFloat_AsStringEx. It is unused in floatobject.c, ↵ | Eric Smith | 2009-10-24 | 1 | -11/+0 |
| | | | | | and it's not declared in any .h file. | ||||
| * | rewrite for style, clarify, and comments | Benjamin Peterson | 2009-10-22 | 1 | -12/+15 |
| | | | | | Also, use the hasattr() like scheme of allowing BaseException exceptions through. | ||||
| * | whitespace | Benjamin Peterson | 2009-10-22 | 1 | -1/+1 |
| | | |||||
| * | Removed usage of unsafe PyFloat_AsString. | Eric Smith | 2009-10-16 | 1 | -7/+13 |
| | | |||||
| * | Issue #7142: Fix uses of unicode in memoryview objects | Mark Dickinson | 2009-10-15 | 1 | -2/+2 |
| | | |||||
| * | only clear a module's __dict__ if the module is the only one with a ↵ | Benjamin Peterson | 2009-10-15 | 1 | -1/+4 |
| | | | | | reference to it #7140 | ||||
| * | Fix missing semicolon | Mark Dickinson | 2009-10-15 | 1 | -1/+1 |
| | | |||||
| * | #7116: str.join() takes an iterable. | Georg Brandl | 2009-10-14 | 2 | -4/+4 |
| | | |||||
| * | #7112: Fix compilation warning in unicodetype_db.h | Amaury Forgeot d'Arc | 2009-10-13 | 1 | -109/+109 |
| | | | | | makeunicodedata now generates double literals | ||||
| * | Issue #7084: Fix a (very unlikely) crash when printing a list from one | Antoine Pitrou | 2009-10-11 | 1 | -1/+6 |
| | | | | | thread, and mutating it from another one. Patch by Scott Dial. | ||||
| * | #1571184: makeunicodedata.py now generates the functions _PyUnicode_ToNumeric, | Amaury Forgeot d'Arc | 2009-10-06 | 2 | -1765/+2877 |
| | | | | | | | _PyUnicode_IsLinebreak and _PyUnicode_IsWhitespace. It now also parses the Unihan.txt for numeric values. | ||||
| * | Style/consistency/nano-optimization nit: replace occurrences of | Mark Dickinson | 2009-09-28 | 1 | -6/+6 |
| | | | | | | | | | | | (high_bits << PyLong_SHIFT) + low_bits with (high_bits << PyLong_SHIFT) | low_bits in Objects/longobject.c. Motivation: - shouldn't unnecessarily mix bit ops with arithmetic ops (style) - this pattern should be spelt the same way thoughout (consistency) - it's very very very slightly faster: no need to worry about carries to the high digit (nano-optimization). | ||||
| * | http://bugs.python.org/issue6836 | Kristján Valur Jónsson | 2009-09-28 | 1 | -1/+1 |
| | | | | | A missing 'const' wasn't detected by Visual Studio. | ||||
| * | http://bugs.python.org/issue6836 | Kristján Valur Jónsson | 2009-09-28 | 1 | -17/+87 |
| | | | | | The debug memory api now keeps track of which external API (PyMem_* or PyObject_*) was used to allocate each block and treats any API violation as an error. Added separate _PyMem_DebugMalloc functions for the Py_Mem API instead of having it use the _PyObject_DebugMalloc functions. | ||||
| * | Issue #6713: Improve decimal int -> string conversions. Thanks Gawain | Mark Dickinson | 2009-09-27 | 1 | -10/+28 |
| | | | | | Bolton for the suggestion and original patches. | ||||
| * | #6994: fix typo in enumerate docstring | Ezio Melotti | 2009-09-25 | 1 | -1/+1 |
| | | |||||
| * | Silence MSVC compiler warnings. | Mark Dickinson | 2009-09-21 | 1 | -2/+3 |
| | | |||||
| * | backport keyword argument support for bytearray.decode | Benjamin Peterson | 2009-09-18 | 1 | -3/+4 |
| | | |||||
| * | add keyword arguments support to str/unicode encode and decode #6300 | Benjamin Peterson | 2009-09-18 | 2 | -12/+20 |
| | | |||||
| * | use macros | Benjamin Peterson | 2009-09-17 | 1 | -1/+1 |
| | | |||||
| * | Issue #6922: Fix an infinite loop when trying to decode an invalid | Georg Brandl | 2009-09-17 | 1 | -1/+1 |
| | | | | | UTF-32 stream with a non-raising error handler like "replace" or "ignore". | ||||
| * | Issue #6713: Improve performance of str(n) and repr(n) for integers n | Mark Dickinson | 2009-09-16 | 1 | -0/+119 |
| | | | | | | (up to 3.1 times faster in tests), by special-casing base 10 in _PyLong_Format. (Backport of r74851 from py3k.) | ||||
| * | #6844: do not emit DeprecationWarnings on access if Exception.message has ↵ | Georg Brandl | 2009-09-16 | 1 | -18/+39 |
| | | | | | | | been set by the user. This works by always setting it in __dict__, except when it's implicitly set in __init__. | ||||
| * | Fix potential signed-overflow bug in _PyLong_Format; also fix | Mark Dickinson | 2009-09-13 | 1 | -9/+11 |
| | | | | | a couple of whitespace issues. | ||||
| * | Remove redundant assignment | Mark Dickinson | 2009-09-06 | 1 | -1/+0 |
| | | |||||
| * | Issue #6847: s/bytes/bytearray/ in some bytearray error messages. Thanks ↵ | Mark Dickinson | 2009-09-06 | 1 | -4/+4 |
| | | | | | Hagen Fürstenau. | ||||
| * | Issue #6846: bytearray.pop was returning ints in the range [-128, 128) | Mark Dickinson | 2009-09-06 | 1 | -1/+1 |
| | | | | | instead of [0, 256). Thanks Hagen Fürstenau for the report and fix. | ||||
| * | remove the check that classmethod's argument is a callable | Benjamin Peterson | 2009-09-01 | 2 | -10/+0 |
| | | |||||
| * | Silence gcc 'comparison always false' warning | Mark Dickinson | 2009-08-28 | 2 | -2/+6 |
| | | |||||
