Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Issue #4856: Remove checks for win NT. | Hirokazu Yamamoto | 2009-06-28 | 1 | -19/+11 |
| | |||||
* | #2016 Fix a crash in function call when the **kwargs dictionary is mutated | Amaury Forgeot d'Arc | 2009-06-25 | 1 | -10/+11 |
| | | | | | | | during the function call setup. This even gives a slight speedup, probably because tuple allocation is faster than PyMem_NEW. | ||||
* | Issue 6329: Fix iteration for memoryviews. | Raymond Hettinger | 2009-06-23 | 1 | -32/+51 |
| | |||||
* | add underscores | Benjamin Peterson | 2009-06-16 | 1 | -2/+2 |
| | |||||
* | Remove unused macro. | Georg Brandl | 2009-06-16 | 1 | -1/+0 |
| | |||||
* | Clear reference to the static PyExc_RecursionErrorInst in _PyExc_Fini. | Alexandre Vassalotti | 2009-06-12 | 1 | -2/+2 |
| | |||||
* | #6224: s/JPython/Jython/, and remove one link to a module nine years old. | Georg Brandl | 2009-06-06 | 1 | -1/+1 |
| | |||||
* | use the offical api | Benjamin Peterson | 2009-06-04 | 1 | -1/+1 |
| | |||||
* | Fix compilation error with gcc 4.3.2 | Antoine Pitrou | 2009-06-01 | 1 | -1/+3 |
| | |||||
* | #4547: When debugging a very large function, it was not always | Amaury Forgeot d'Arc | 2009-06-01 | 1 | -2/+2 |
| | | | | possible to update the lineno attribute of the current frame. | ||||
* | Uninitialized file type would lead to __exit__ lookup failure when site.py | Antoine Pitrou | 2009-05-31 | 1 | -0/+3 |
| | | | | tries to read *.pth files on interpreter startup. | ||||
* | Issue 5982: Classmethod and staticmethod expose wrapped function with __func__. | Raymond Hettinger | 2009-05-29 | 1 | -2/+12 |
| | |||||
* | plug ref leak | Benjamin Peterson | 2009-05-27 | 1 | -4/+7 |
| | |||||
* | correctly handle descrs with __missing__ | Benjamin Peterson | 2009-05-27 | 1 | -5/+6 |
| | |||||
* | handle errors from _PyObject_LookupSpecial when __get__ fails | Benjamin Peterson | 2009-05-25 | 3 | -3/+17 |
| | |||||
* | Issue #6042: | Jeffrey Yasskin | 2009-05-23 | 2 | -132/+132 |
| | | | | | | | | | | | | | | | lnotab-based tracing is very complicated and isn't documented very well. There were at least 3 comment blocks purporting to document co_lnotab, and none did a very good job. This patch unifies them into Objects/lnotab_notes.txt which tries to completely capture the current state of affairs. I also discovered that we've attached 2 layers of patches to the basic tracing scheme. The first layer avoids jumping to instructions that don't start a line, to avoid problems in if statements and while loops. The second layer discovered that jumps backward do need to trace at instructions that don't start a line, so it added extra lnotab entries for 'while' and 'for' loops, and added a special case for backward jumps within the same line. I replaced these patches by just treating forward and backward jumps differently. | ||||
* | Issue 6089: str.format raises SystemError. | Eric Smith | 2009-05-23 | 1 | -2/+3 |
| | |||||
* | Issue #5829: don't raise OverflowError for complex('1e500'). Backport of ↵ | Mark Dickinson | 2009-05-20 | 1 | -9/+0 |
| | | | | r72803. | ||||
* | Fix issue #1689458 by teaching frame_setlineno how to jump to the first line of | Jeffrey Yasskin | 2009-05-20 | 1 | -14/+20 |
| | | | | a code object. | ||||
* | While I was modifying test_trace, it threw an exception when I accidentally | Jeffrey Yasskin | 2009-05-18 | 1 | -1/+2 |
| | | | | | | | made it try to set the line number from the trace callback for a 'call' event. This patch makes the error message a little more helpful in that case, and makes it a little less likely that a future editor will make the same mistake in test_trace. | ||||
* | Issue #6044: remove confusing wording from complex -> integer and | Mark Dickinson | 2009-05-17 | 1 | -3/+3 |
| | | | | complex -> float conversion error messages. | ||||
* | Issue #3527: Removed Py_WIN_WIDE_FILENAMES which is not used any more. | Hirokazu Yamamoto | 2009-05-17 | 1 | -1/+1 |
| | |||||
* | completely ignore old-style stuff for type checking overloading | Benjamin Peterson | 2009-05-16 | 1 | -52/+30 |
| | |||||
* | deal with old-style classes in issubclass and isinstance | Benjamin Peterson | 2009-05-16 | 1 | -2/+2 |
| | |||||
* | properly lookup __instancecheck__ and __subclasscheck__ | Benjamin Peterson | 2009-05-16 | 2 | -30/+29 |
| | |||||
* | Issue #5981: Fix some float.fromhex bugs related to inf and nan handling. | Mark Dickinson | 2009-05-11 | 1 | -16/+36 |
| | |||||
* | clear error state properly | Benjamin Peterson | 2009-05-09 | 1 | -0/+1 |
| |