Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 00147-add-debug-malloc-stats.patch | Fedora Python maintainers | 2020-09-29 | 1 | -0/+6 |
| | | | | | | | 00147 # Add a sys._debugmallocstats() function Based on patch 202 from RHEL 5's python.spec, with updates from rhbz#737198 Sent upstream as http://bugs.python.org/issue14785 | ||||
* | bpo-33817: Fix _PyString_Resize() and _PyUnicode_Resize() for empty strings. ↵ | Serhiy Storchaka | 2019-01-12 | 1 | -1/+18 |
| | | | | (GH-11515) | ||||
* | [2.7] bpo-35214: Fix OOB memory access in unicode escape parser (GH-10506) ↵ | Gregory P. Smith | 2018-11-14 | 1 | -1/+1 |
| | | | | | | | | | | (GH-10538) Discovered using clang's MemorySanitizer. A msan build will fail by simply executing: ./python -c 'u"\N"' (cherry picked from commit 746b2d3) Co-authored-by: Gregory P. Smith <greg@krypto.org> [Google LLC] | ||||
* | Fix compilation warnings on Windows (GH-8627) | Victor Stinner | 2018-08-02 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | * Fix compilation warning in _ctypes module on Window (cherry picked from commit 20f11fe43c47b68c8b9dd6539d2d40b66c9957f9) * Fix compilation warnings on Windows 64-bit (cherry picked from commit 725e4212229bf68f87d4f66c1815d444ddfc7aa5) * Fix compiler warning in unicodeobject.c Explicitly case to Py_UNICODE to fix the warning: Objects\unicodeobject.c(4225): warning C4244: '=' : conversion from 'long' to 'Py_UNICODE', possible loss of data The downcast cannot overflow since we check that value <= 0x10ffff. | ||||
* | [2.7] bpo-34234: Use _PyAnyInt_Check() and _PyAnyInt_CheckExact(). (GH-8479) | Serhiy Storchaka | 2018-07-31 | 1 | -1/+1 |
| | |||||
* | bpo-30074: Fix compile warnings of _PySlice_Unpack and convert missed (#1154) | Serhiy Storchaka | 2017-04-15 | 1 | -1/+1 |
| | | | | PySlice_GetIndicesEx in _ctypes.c. | ||||
* | bpo-27867: Expand the PySlice_GetIndicesEx macro. (#1023) (#1046) | Serhiy Storchaka | 2017-04-08 | 1 | -2/+3 |
| | | | | (cherry picked from commit b879fe8) | ||||
* | Issue #29145: Fix overflow checks in string, bytearray and unicode. | Xiang Zhang | 2017-01-09 | 1 | -15/+10 |
| | | | | Patch by jan matejek and Xiang Zhang. | ||||
* | promote some shifts to unsigned, so as not to invoke undefined behavior | Benjamin Peterson | 2016-09-07 | 1 | -2/+2 |
| | |||||
* | Issue #27473: Fixed possible integer overflow in str, unicode and bytearray | Serhiy Storchaka | 2016-07-12 | 1 | -5/+11 |
| | | | | concatenations and repetitions. Based on patch by Xiang Zhang. | ||||
* | Issue #22463: Backport compiler warning fixes and workarounds | Martin Panter | 2016-06-21 | 1 | -1/+1 |
| | | | | | | | | | | | | | | * Set but unused variable in Parser/pgen.c in non-debug builds. Patch by Christian Heimes. * Unused static function in Modules/readline.c. Patch by Georg Brandl. * main_window unused in Modules/tkappinit.c. Patch by Gregory P. Smith. * Dead assignment in Modules/_ctypes/cfield.c. Extracted from patch by Brett Cannon. * Expression result unused in PyObject_INIT macro expansions. Based on patches by Christian Heimes. * Load expat_config.h and therefore pyconfig.h before C stdlib headers are loaded. This silences pre-processor warnings including '_POSIX_C_SOURCE redefined'. Extracted from patch by Christian Heimes. | ||||
* | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF | Serhiy Storchaka | 2016-04-10 | 1 | -1/+1 |
| | | | | in places where Py_DECREF was used. | ||||
* | Issue #13410: Fixed a bug in PyUnicode_Format where it failed to properly | Serhiy Storchaka | 2016-04-10 | 1 | -1/+4 |
| | | | | | | ignore errors from a __int__() method. Patch based on the patch for issue #15516. | ||||
* | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 1 | -1/+1 |
| | |||||
* | Issue #20440: Massive replacing unsafe attribute setting code with special | Serhiy Storchaka | 2015-12-24 | 1 | -2/+1 |
| | | | | macro Py_SETREF. | ||||
* | Issue #19543: Added Py3k warning for decoding unicode. | Serhiy Storchaka | 2015-12-03 | 1 | -0/+3 |
| | |||||
* | Issue #24848: Fixed yet one bug in UTF-7 decoder. Testing for BASE64 character | Serhiy Storchaka | 2015-10-10 | 1 | -1/+4 |
| | | | | was locale depending. | ||||
* | Issue #24848: Fixed bugs in UTF-7 decoding of misformed data: | Serhiy Storchaka | 2015-10-02 | 1 | -7/+9 |
| | | | | | 1. Non-ASCII bytes were accepted after shift sequence. 2. A low surrogate could be emitted in case of error in high surrogate. | ||||
* | Issue #19543: Emit deprecation warning for known non-text encodings. | Serhiy Storchaka | 2015-05-31 | 1 | -4/+4 |
| | | | | | | | | | | Backported issues #19619: encode() and decode() methods and constructors of str, unicode and bytearray classes now emit deprecation warning for known non-text encodings when Python is ran with the -3 option. Backported issues #20404: io.TextIOWrapper (and hence io.open()) now uses the internal codec marking system added to emit deprecation warning for known non-text encodings at stream construction time when Python is ran with the -3 option. | ||||
* | Issue #23055: Fixed read-past-the-end error in PyUnicode_FromFormatV. | Serhiy Storchaka | 2015-01-30 | 1 | -0/+2 |
| | |||||
* | Issue #23055: Fixed off-by-one error in PyUnicode_FromFormatV. | Serhiy Storchaka | 2015-01-30 | 1 | -1/+2 |
| | |||||
* | Issue #23055: Fixed a buffer overflow in PyUnicode_FromFormatV. Analysis | Serhiy Storchaka | 2015-01-27 | 1 | -12/+13 |
| | | | | and fix by Guido Vranken. | ||||
* | Issue #23181: More "codepoint" -> "code point". | Serhiy Storchaka | 2015-01-18 | 1 | -4/+4 |
| | |||||
* | cleanup overflowing handling in unicode_decode_call_errorhandler and ↵ | Benjamin Peterson | 2014-09-29 | 1 | -21/+48 |
| | | | | unicode_encode_ucs1 (closes #22518) | ||||
* | Issue #22023: Fix %S, %R and %V formats of PyUnicode_FromFormat(). | Victor Stinner | 2014-07-29 | 1 | -9/+9 |
| | |||||
* | give non-iterable TypeError a message (closes #20507) | Benjamin Peterson | 2014-02-15 | 1 | -1/+1 |
| | |||||
* | Issue #20437: Fixed 43 potential bugs when deleting objects references. | Serhiy Storchaka | 2014-02-09 | 1 | -4/+2 |
| | |||||
* | Issue #19279: UTF-7 decoder no more produces illegal unicode strings. | Serhiy Storchaka | 2013-10-19 | 1 | -0/+2 |
| | |||||
* | Issue #15866: The xmlcharrefreplace error handler no more produces two XML | Serhiy Storchaka | 2013-08-06 | 1 | -21/+61 |
| | | | | entities for a non-BMP character on narrow build. | ||||
* | Issue #18184: PyUnicode_FromFormat() and PyUnicode_FromFormatV() now raise | Serhiy Storchaka | 2013-06-23 | 1 | -1/+18 |
| | | | | OverflowError when an argument of %c format is out of range. | ||||
* | allow any type with __getitem__ to be a mapping for the purposes of % (#15801) | Benjamin Peterson | 2013-03-24 | 1 | -2/+2 |
| | |||||
* | Issue #17043: The unicode-internal decoder no longer read past the end of | Serhiy Storchaka | 2013-02-07 | 1 | -27/+24 |
| | | | | input buffer. | ||||
* | Issue #16979: Fix error handling bugs in the unicode-escape-decode decoder. | Serhiy Storchaka | 2013-01-29 | 1 | -51/+28 |
| | |||||
* | Issue #10156: In the interpreter's initialization phase, unicode globals | Serhiy Storchaka | 2013-01-26 | 1 | -41/+38 |
| | | | | are now initialized dynamically as needed. | ||||
* | 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 | 1 | -2/+6 |
| | | | | | | | when result of PyInt_AsLong() or 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 | -21/+25 |
| | | | | in any mapping, not only in an unicode string. | ||||
* | 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 |
| | |||||
* | Issue #15379: Fix passing of non-BMP characters as integers for the charmap ↵ | Antoine Pitrou | 2012-11-17 | 1 | -2/+26 |
| | | | | | | decoder (already working as unicode strings). Patch by Serhiy Storchaka. | ||||
* | initialize more global type objects (closes #16369) | Benjamin Peterson | 2012-10-31 | 1 | -0/+6 |
| | |||||
* | Issue #14700: Fix buggy overflow checks for large precision and width in ↵ | Mark Dickinson | 2012-10-28 | 1 | -2/+2 |
| | | | | new-style and old-style formatting. | ||||
* | Issue #14783: Backport changes from 3.2. | Chris Jerdonek | 2012-10-08 | 1 | -3/+4 |
| | |||||
* | use the stricter PyMapping_Check (closes #15801) | Benjamin Peterson | 2012-08-28 | 1 | -1/+1 |
| | |||||
* | Issue #14579: Fix error handling bug in the utf-16 decoder. | Antoine Pitrou | 2012-07-20 | 1 | -1/+1 |
| | | | | Patch by Serhiy Storchaka. | ||||
* | Improve tooltips for splitlines() by showing that the default for keepends ↵ | Raymond Hettinger | 2012-06-02 | 1 | -1/+1 |
| | | | | is False. | ||||
* | merge 2.7 release branch | Benjamin Peterson | 2012-04-09 | 1 | -0/+2 |
|\ | |||||
| * | fix build without Py_DEBUG and DNDEBUG (closes #14509) | Benjamin Peterson | 2012-04-09 | 1 | -0/+2 |
| | | |||||
* | | kill this terribly outdated comment | Benjamin Peterson | 2012-03-26 | 1 | -4/+0 |
|/ | |||||
* | merge 2.6 | Benjamin Peterson | 2012-02-21 | 1 | -0/+1 |
|\ |