summaryrefslogtreecommitdiffstats
path: root/Objects
Commit message (Collapse)AuthorAgeFilesLines
* Issue #12983: Bytes literals with invalid \x escape now raise a SyntaxErrorSerhiy Storchaka2013-02-101-2/+3
|\ | | | | | | and a full traceback including line number.
| * Issue #12983: Bytes literals with invalid \x escape now raise a SyntaxErrorSerhiy Storchaka2013-02-101-2/+3
| |\ | | | | | | | | | and a full traceback including line number.
| | * Issue #12983: Bytes literals with invalid \x escape now raise a SyntaxErrorSerhiy Storchaka2013-02-101-2/+3
| | | | | | | | | | | | and a full traceback including line number.
* | | Issue #17173: Remove uses of locale-dependent C functions (isalpha() etc.) ↵Antoine Pitrou2013-02-091-2/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | in the interpreter. I've left a couple of them in: zlib (third-party lib), getaddrinfo.c (doesn't include Python.h, and probably obsolete), _sre.c (legitimate use for the re.LOCALE flag), mpdecimal (needs to build without Python.h).
| * | Issue #17173: Remove uses of locale-dependent C functions (isalpha() etc.) ↵Antoine Pitrou2013-02-091-2/+2
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | in the interpreter. I've left a couple of them in: zlib (third-party lib), getaddrinfo.c (doesn't include Python.h, and probably obsolete), _sre.c (legitimate use for the re.LOCALE flag), mpdecimal (needs to build without Python.h).
| | * Issue #17173: Remove uses of locale-dependent C functions (isalpha() etc.) ↵Antoine Pitrou2013-02-092-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | in the interpreter. I've left a couple of them in: zlib (third-party lib), getaddrinfo.c (doesn't include Python.h, and probably obsolete), _sre.c (legitimate use for the re.LOCALE flag).
* | | (Merge 3.3) Issue #17137: When an Unicode string is resized, the internal wideVictor Stinner2013-02-071-0/+4
|\ \ \ | |/ / | | | | | | character string (wstr) format is now cleared.
| * | Issue #17137: When an Unicode string is resized, the internal wide characterVictor Stinner2013-02-071-0/+4
| | | | | | | | | | | | string (wstr) format is now cleared.
* | | Issue #17043: The unicode-internal decoder no longer read past the end ofSerhiy Storchaka2013-02-071-26/+22
|\ \ \ | |/ / | | | | | | input buffer.
| * | Issue #17043: The unicode-internal decoder no longer read past the end ofSerhiy Storchaka2013-02-071-26/+22
| |\ \ | | |/ | | | | | | input buffer.
| | * Issue #17043: The unicode-internal decoder no longer read past the end ofSerhiy Storchaka2013-02-071-27/+24
| | | | | | | | | | | | input buffer.
* | | Issue #17034: Use Py_CLEAR() in bytesobject.c.Serhiy Storchaka2013-02-021-8/+4
|\ \ \ | |/ /
| * | Issue #17034: Use Py_CLEAR() in bytesobject.c.Serhiy Storchaka2013-02-021-8/+4
| |\ \ | | |/
| | * Issue #17034: Use Py_CLEAR() in bytesobject.c.Serhiy Storchaka2013-02-021-8/+4
| | |
| | * Silence a -Wformat-extra-argument warning when compiling.Gregory P. Smith2013-02-021-7/+15
| | |
* | | Issue #16971: Fix a refleak in the charmap decoder.Serhiy Storchaka2013-01-291-4/+12
|\ \ \ | |/ /
| * | Issue #16971: Fix a refleak in the charmap decoder.Serhiy Storchaka2013-01-291-4/+13
| | |
* | | Issue #16979: Fix error handling bugs in the unicode-escape-decode decoder.Serhiy Storchaka2013-01-291-51/+29
|\ \ \ | |/ /
| * | Issue #16979: Fix error handling bugs in the unicode-escape-decode decoder.Serhiy Storchaka2013-01-291-52/+30
| |\ \ | | |/
| | * Issue #16979: Fix error handling bugs in the unicode-escape-decode decoder.Serhiy Storchaka2013-01-291-51/+28
| | |
* | | Issue #16772: in int(x, base), non-integer bases must have an __index__ method.Mark Dickinson2013-01-271-5/+0
| | |
* | | Merge typo fixes from 3.3.Ezio Melotti2013-01-271-1/+1
|\ \ \ | |/ /
| * | Fix a few typos and a double semicolon. Patch by Eitan Adler.Ezio Melotti2013-01-271-1/+1
| | |
* | | Issue #10156: In the interpreter's initialization phase, unicode globalsSerhiy Storchaka2013-01-261-110/+83
|\ \ \ | |/ / | | | | | | are now initialized dynamically as needed.
| * | Issue #10156: In the interpreter's initialization phase, unicode globalsSerhiy Storchaka2013-01-261-90/+73
| |\ \ | | |/ | | | | | | are now initialized dynamically as needed.
| | * Issue #10156: In the interpreter's initialization phase, unicode globalsSerhiy Storchaka2013-01-261-52/+45
| | | | | | | | | | | | are now initialized dynamically as needed.
* | | Issue #16980: Fix processing of escaped non-ascii bytes in theSerhiy Storchaka2013-01-251-1/+1
|\ \ \ | |/ / | | | | | | unicode-escape-decode decoder.
| * | Issue #16980: Fix processing of escaped non-ascii bytes in theSerhiy Storchaka2013-01-251-1/+1
| | | | | | | | | | | | unicode-escape-decode decoder.
* | | Issue #16975: Fix error handling bug in the escape-decode bytes decoder.Serhiy Storchaka2013-01-251-0/+4
|\ \ \ | |/ /
| * | Issue #16975: Fix error handling bug in the escape-decode bytes decoder.Serhiy Storchaka2013-01-251-0/+4
| |\ \ | | |/
| | * Issue #16975: Fix error handling bug in the escape-decode bytes decoder.Serhiy Storchaka2013-01-251-0/+4
| | |
* | | Issue #16335: Fix integer overflow in unicode-escape decoder.Serhiy Storchaka2013-01-211-1/+2
|\ \ \ | |/ /
| * | Issue #16335: Fix integer overflow in unicode-escape decoder.Serhiy Storchaka2013-01-211-1/+2
| |\ \ | | |/
| | * Issue #16335: Fix integer overflow in unicode-escape decoder.Serhiy Storchaka2013-01-211-1/+2
| | |
| * | Issue #15989: Fix several occurrences of integer overflowSerhiy Storchaka2013-01-193-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 overflowSerhiy Storchaka2013-01-193-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 Storchaka2013-01-151-19/+33
|\ \ \ | |/ / | | | | | | in any mapping, not only in an unicode string.
| * | Issue #14850: Now a chamap decoder treates U+FFFE as "undefined mapping"Serhiy Storchaka2013-01-151-19/+22
| |\ \ | | |/ | | | | | | in any mapping, not only in an unicode string.
| | * Issue #14850: Now a chamap decoder treates U+FFFE as "undefined mapping"Serhiy Storchaka2013-01-151-21/+25
| | | | | | | | | | | | in any mapping, not only in an unicode string.
* | | Check for NULL before the pointer aligning in fastsearch_memchr_1char.Serhiy Storchaka2013-01-151-15/+10
|\ \ \ | |/ / | | | | | | There is no guarantee that NULL is aligned.
| * | Check for NULL before the pointer aligning in fastsearch_memchr_1char.Serhiy Storchaka2013-01-151-15/+10
| | | | | | | | | | | | There is no guarantee that NULL is aligned.
* | | Issue #15989: Fix several occurrences of integer overflowSerhiy Storchaka2013-01-143-4/+22
| | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks.
* | | merge 3.3 (#16906)Benjamin Peterson2013-01-091-6/+9
|\ \ \ | |/ /
| * | correct static string clearing loop (closes #16906)Benjamin Peterson2013-01-091-6/+9
| | |
* | | Issue #11461: Fix the incremental UTF-16 decoder. Original patch bySerhiy Storchaka2013-01-081-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 bySerhiy Storchaka2013-01-081-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 bySerhiy Storchaka2013-01-081-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 Storchaka2013-01-081-1/+1
| | |
* | | Add a comment about *not* caching the hash value. Issue #9685 suggested to ↵Christian Heimes2013-01-071-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 withSerhiy Storchaka2013-01-041-1/+1
|\ \ \ | |/ / | | | | | | a key whose repr raise an exception.