Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | #6707 fix a crash with dir() on an uninitialized module | Benjamin Peterson | 2009-08-15 | 1 | -3/+5 | |
| | ||||||
* | Issue 6330: Fix --enable-unicode=ucs4. | Eric Smith | 2009-07-30 | 1 | -3/+20 | |
| | ||||||
* | Issue 6573: Fix set.union() for cases where self is in the argument chain. | Raymond Hettinger | 2009-07-27 | 1 | -1/+1 | |
| | ||||||
* | Sync trunk and py3k versions of string formatting. Will manually merge into ↵ | Eric Smith | 2009-07-27 | 1 | -0/+6 | |
| | | | | py3k. | |||||
* | clarify | Benjamin Peterson | 2009-07-25 | 1 | -1/+1 | |
| | ||||||
* | Issue #6540: Fixed crash for bytearray.translate() with invalid parameters. | Georg Brandl | 2009-07-22 | 1 | -3/+5 | |
| | ||||||
* | must use _PyThreadState_Current so it isn't checked for NULL #6530 | Benjamin Peterson | 2009-07-21 | 1 | -4/+6 | |
| | ||||||
* | Grow the allocated buffer in PyUnicode_EncodeUTF7 to avoid buffer overrun. | Alexandre Vassalotti | 2009-07-07 | 1 | -2/+2 | |
| | | | | | | | Without this change, test_unicode.UnicodeTest.test_codecs_utf7 crashes in debug mode. What happens is the unicode string u'\U000abcde' with a length of 1 encodes to the string '+2m/c3g-' of length 8. Since only 5 bytes is reserved in the buffer, a buffer overrun occurs. | |||||
* | only order comparisons are removed in py3k #6119 | Benjamin Peterson | 2009-07-02 | 1 | -6/+7 | |
| | ||||||
* | Issue #6368: Fixed unused variable warning on Unix. | Hirokazu Yamamoto | 2009-06-29 | 1 | -0/+2 | |
| |