Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #16971: Fix a refleak in the charmap decoder. | Serhiy Storchaka | 2013-01-29 | 1 | -4/+12 |
|\ | |||||
| * | Issue #16971: Fix a refleak in the charmap decoder. | Serhiy Storchaka | 2013-01-29 | 1 | -4/+13 |
| | | |||||
* | | Issue #16979: Fix error handling bugs in the unicode-escape-decode decoder. | Serhiy Storchaka | 2013-01-29 | 1 | -51/+29 |
|\ \ | |/ | |||||
| * | Issue #16979: Fix error handling bugs in the unicode-escape-decode decoder. | Serhiy Storchaka | 2013-01-29 | 1 | -52/+30 |
| |\ | |||||
| | * | Issue #16979: Fix error handling bugs in the unicode-escape-decode decoder. | Serhiy Storchaka | 2013-01-29 | 1 | -51/+28 |
| | | | |||||
* | | | Issue #16772: in int(x, base), non-integer bases must have an __index__ method. | Mark Dickinson | 2013-01-27 | 1 | -5/+0 |
| | | | |||||
* | | | Merge typo fixes from 3.3. | Ezio Melotti | 2013-01-27 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Fix a few typos and a double semicolon. Patch by Eitan Adler. | Ezio Melotti | 2013-01-27 | 1 | -1/+1 |
| | | | |||||
* | | | Issue #10156: In the interpreter's initialization phase, unicode globals | Serhiy Storchaka | 2013-01-26 | 1 | -110/+83 |
|\ \ \ | |/ / | | | | | | | are now initialized dynamically as needed. | ||||
| * | | Issue #10156: In the interpreter's initialization phase, unicode globals | Serhiy Storchaka | 2013-01-26 | 1 | -90/+73 |
| |\ \ | | |/ | | | | | | | are now initialized dynamically as needed. | ||||
| | * | Issue #10156: In the interpreter's initialization phase, unicode globals | Serhiy Storchaka | 2013-01-26 | 1 | -52/+45 |
| | | | | | | | | | | | | are now initialized dynamically as needed. | ||||
* | | | Issue #16980: Fix processing of escaped non-ascii bytes in the | Serhiy Storchaka | 2013-01-25 | 1 | -1/+1 |
|\ \ \ | |/ / | | | | | | | unicode-escape-decode decoder. | ||||
| * | | Issue #16980: Fix processing of escaped non-ascii bytes in the | Serhiy Storchaka | 2013-01-25 | 1 | -1/+1 |
| | | | | | | | | | | | | unicode-escape-decode decoder. | ||||
* | | | Issue #16975: Fix error handling bug in the escape-decode bytes decoder. | Serhiy Storchaka | 2013-01-25 | 1 | -0/+4 |
|\ \ \ | |/ / | |||||
| * | | Issue #16975: Fix error handling bug in the escape-decode bytes decoder. | Serhiy Storchaka | 2013-01-25 | 1 | -0/+4 |
| |\ \ | | |/ | |||||
| | * | Issue #16975: Fix error handling bug in the escape-decode bytes decoder. | Serhiy Storchaka | 2013-01-25 | 1 | -0/+4 |
| | | | |||||
* | | | Issue #16335: Fix integer overflow in unicode-escape decoder. | Serhiy Storchaka | 2013-01-21 | 1 | -1/+2 |
|\ \ \ | |/ / | |||||
| * | | Issue #16335: Fix integer overflow in unicode-escape decoder. | Serhiy Storchaka | 2013-01-21 | 1 | -1/+2 |
| |\ \ | | |/ | |||||
| | * | Issue #16335: Fix integer overflow in unicode-escape decoder. | Serhiy Storchaka | 2013-01-21 | 1 | -1/+2 |
| | | | |||||
| * | | Issue #15989: Fix several occurrences of integer overflow | Serhiy Storchaka | 2013-01-19 | 3 | -4/+22 |
| |\ \ | | |/ | | | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks. This is a backport of changesets 13e2e44db99d and 525407d89277. | ||||
| | * | Issue #15989: Fix several occurrences of integer overflow | Serhiy Storchaka | 2013-01-19 | 3 | -4/+22 |
| | | | | | | | | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks. This is a backport of changesets 13e2e44db99d and 525407d89277. | ||||
* | | | Issue #14850: Now a chamap decoder treates U+FFFE as "undefined mapping" | Serhiy Storchaka | 2013-01-15 | 1 | -19/+33 |
|\ \ \ | |/ / | | | | | | | in any mapping, not only in an unicode string. | ||||
| * | | Issue #14850: Now a chamap decoder treates U+FFFE as "undefined mapping" | Serhiy Storchaka | 2013-01-15 | 1 | -19/+22 |
| |\ \ | | |/ | | | | | | | in any mapping, not only in an unicode string. | ||||
| | * | Issue #14850: Now a chamap decoder treates U+FFFE as "undefined mapping" | Serhiy Storchaka | 2013-01-15 | 1 | -21/+25 |
| | | | | | | | | | | | | in any mapping, not only in an unicode string. | ||||
* | | | Check for NULL before the pointer aligning in fastsearch_memchr_1char. | Serhiy Storchaka | 2013-01-15 | 1 | -15/+10 |
|\ \ \ | |/ / | | | | | | | There is no guarantee that NULL is aligned. | ||||
| * | | Check for NULL before the pointer aligning in fastsearch_memchr_1char. | Serhiy Storchaka | 2013-01-15 | 1 | -15/+10 |
| | | | | | | | | | | | | There is no guarantee that NULL is aligned. | ||||
* | | | Issue #15989: Fix several occurrences of integer overflow | Serhiy Storchaka | 2013-01-14 | 3 | -4/+22 |
| | | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks. | ||||
* | | | merge 3.3 (#16906) | Benjamin Peterson | 2013-01-09 | 1 | -6/+9 |
|\ \ \ | |/ / | |||||
| * | | correct static string clearing loop (closes #16906) | Benjamin Peterson | 2013-01-09 | 1 | -6/+9 |
| | | | |||||
* | | | Issue #11461: Fix the incremental UTF-16 decoder. Original patch by | Serhiy Storchaka | 2013-01-08 | 1 | -1/+4 |
|\ \ \ | |/ / | | | | | | | | | | Amaury Forgeot d'Arc. Added tests for partial decoding of non-BMP characters. | ||||
| * | | Issue #11461: Fix the incremental UTF-16 decoder. Original patch by | Serhiy Storchaka | 2013-01-08 | 1 | -1/+4 |
| |\ \ | | |/ | | | | | | | | | | Amaury Forgeot d'Arc. Added tests for partial decoding of non-BMP characters. | ||||
| | * | Issue #11461: Fix the incremental UTF-16 decoder. Original patch by | Serhiy Storchaka | 2013-01-08 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | Amaury Forgeot d'Arc. Added tests for partial decoding of non-BMP characters. | ||||
| | * | Fix out of bound read in UTF-32 decoder on "narrow Unicode" builds. | Serhiy Storchaka | 2013-01-08 | 1 | -1/+1 |
| | | | |||||
* | | | Add a comment about *not* caching the hash value. Issue #9685 suggested to ↵ | Christian Heimes | 2013-01-07 | 1 | -0/+3 |
| | | | | | | | | | | | | memorize the hash value, but the feature request was rejected because no speed ups were found. | ||||
* | | | Issue #16856: Fix a segmentation fault from calling repr() on a dict with | Serhiy Storchaka | 2013-01-04 | 1 | -1/+1 |
|\ \ \ | |/ / | | | | | | | a key whose repr raise an exception. | ||||
| * | | Issue #16856: Fix a segmentation fault from calling repr() on a dict with | Serhiy Storchaka | 2013-01-04 | 1 | -1/+1 |
| | | | | | | | | | | | | a key whose repr raise an exception. | ||||
| * | | (Merge 3.2) Issue #16455: On FreeBSD and Solaris, if the locale is C, the | Victor Stinner | 2013-01-03 | 1 | -4/+4 |
| |\ \ | | |/ | | | | | | | | | | | | | | | | ASCII/surrogateescape codec is now used, instead of the locale encoding, to decode the command line arguments. This change fixes inconsistencies with os.fsencode() and os.fsdecode() because these operating systems announces an ASCII locale encoding, whereas the ISO-8859-1 encoding is used in practice. | ||||
| | * | Issue #16455: On FreeBSD and Solaris, if the locale is C, the | Victor Stinner | 2013-01-03 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | ASCII/surrogateescape codec is now used, instead of the locale encoding, to decode the command line arguments. This change fixes inconsistencies with os.fsencode() and os.fsdecode() because these operating systems announces an ASCII locale encoding, whereas the ISO-8859-1 encoding is used in practice. | ||||
* | | | Close #16281: handle tailmatch() failure and remove useless comment | Victor Stinner | 2013-01-03 | 1 | -2/+9 |
| | | | | | | | | | | | | | | | | | | | | | "honor direction and do a forward or backwards search": the runtime speed may be different, but I consider that it doesn't really matter in practice. The direction was never honored before: Python 2.7 uses memcmp() for the str type for example. | ||||
* | | | Fix the advertised size of PyCFunctionObjects in sys._debugmallocstats(). | Antoine Pitrou | 2012-12-30 | 1 | -2/+2 |
|\ \ \ | |/ / | |||||
| * | | Fix the advertised size of PyCFunctionObjects in sys._debugmallocstats(). | Antoine Pitrou | 2012-12-30 | 1 | -2/+2 |
| | | | |||||
* | | | Issue #16761: Raise TypeError when int() called with base argument only. | Serhiy Storchaka | 2012-12-28 | 1 | -3/+9 |
|\ \ \ | |/ / | |||||
| * | | Issue #16761: Raise TypeError when int() called with base argument only. | Serhiy Storchaka | 2012-12-28 | 1 | -2/+8 |
| |\ \ | | |/ | |||||
| | * | Issue #16761: Raise TypeError when int() called with base argument only. | Serhiy Storchaka | 2012-12-28 | 1 | -2/+8 |
| | | | |||||
| | * | Keep y a Py_hash_t instead of Py_uhash_t as it is compared with == -1 and the | Gregory P. Smith | 2012-12-11 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | compiler logic will do the right thing with just x as a Py_uhash_t. This matches what was already done in the 3.3 version. cleanup only - no functionality or hash values change. | ||||
* | | | use more specific type | Benjamin Peterson | 2012-12-26 | 1 | -1/+1 |
| | | | |||||
* | | | Fix compilation error for #15422 | Andrew Svetlov | 2012-12-26 | 1 | -0/+3 |
| | | | |||||
* | | | Test for issue16772 and redoes the previous fix to accept __index__-aware | Gregory P. Smith | 2012-12-26 | 1 | -4/+3 |
| | | | | | | | | | | | | objects as the base by using PyNumber_AsSsize_t similar to round(). | ||||
* | | | Fixes issue #16772: int() constructor second argument (base) must be an int. | Gregory P. Smith | 2012-12-25 | 1 | -0/+5 |
| | | | | | | | | | | | | Consistent with the behavior in Python 2. | ||||
* | | | Issue #15422: get rid of PyCFunction_New macro | Andrew Svetlov | 2012-12-25 | 3 | -20/+12 |
| | | |