summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
Commit message (Collapse)AuthorAgeFilesLines
* Issue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS XSerhiy Storchaka2016-11-121-1/+1
|\ | | | | | | when decode astral characters.
| * Issue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS XSerhiy Storchaka2016-11-121-1/+1
| | | | | | | | when decode astral characters.
| * Issue #25709: Fixed problem with in-place string concatenation and utf-8 cache.Serhiy Storchaka2015-12-021-0/+5
| |
* | Issue #28426: Fixed potential crash in PyUnicode_AsDecodedObject() in debug ↵Serhiy Storchaka2016-10-251-10/+2
| | | | | | | | build.
* | Issue #25709: Fixed problem with in-place string concatenation and utf-8 cache.Serhiy Storchaka2015-12-021-0/+5
| |
* | Issue #25523: Further a-to-an corrections.Serhiy Storchaka2015-11-021-2/+2
| |
* | Issue #24848: Fixed bugs in UTF-7 decoding of misformed data:Serhiy Storchaka2015-10-021-9/+12
| | | | | | | | | | 1. Non-ASCII bytes were accepted after shift sequence. 2. A low surrogate could be emitted in case of error in high surrogate.
* | Issue #21279: Flesh out str.translate docsZachary Ware2015-08-061-5/+6
| | | | | | | | Initial patch by Kinga Farkas, Martin Panter, and John Posner.
* | Fix some compilation warnings when using gcc (-Wmaybe-uninitialized).Antoine Pitrou2015-05-191-17/+17
| |
* | Issue #23803: Fixed str.partition() and str.rpartition() when a separatorSerhiy Storchaka2015-03-291-5/+5
| | | | | | | | is wider then partitioned string.
* | merge 3.3 (#23362)Benjamin Peterson2015-03-021-1/+1
|\ \ | |/
| * use PyMem_NEW to detect overflow (closes #23362)Benjamin Peterson2015-03-021-1/+1
| |
| * Issue #23055: Fixed a buffer overflow in PyUnicode_FromFormatV. AnalysisSerhiy Storchaka2015-01-271-0/+2
| | | | | | | | and fix by Guido Vranken.
* | Issue #23490: Fixed possible crashes related to interoperability betweenSerhiy Storchaka2015-02-201-0/+9
| | | | | | | | old-style and new API for string with 2**30-1 characters.
* | Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integerSerhiy Storchaka2015-02-161-17/+5
| | | | | | | | overflows. Added few missed PyErr_NoMemory().
* | Issue #23321: Fixed a crash in str.decode() when error handler returnedSerhiy Storchaka2015-01-251-2/+6
| | | | | | | | replacment string longer than mailformed input data.
* | Issue #23181: More "codepoint" -> "code point".Serhiy Storchaka2015-01-181-2/+2
| |
* | Issue #22581: Use more "bytes-like object" throughout the docs and comments.Serhiy Storchaka2014-12-051-2/+1
| |
* | Issue #22975: Close block at right place.Serhiy Storchaka2014-12-011-1/+1
| |
* | Merge 3.3Benjamin Peterson2014-10-161-1/+1
|\ \ | |/
| * Fixed signed/unsigned comparison warningAntoine Pitrou2014-10-151-1/+1
| |
* | merge 3.3Benjamin Peterson2014-10-151-3/+2
|\ \ | |/
| * it suffices to check for PY_SSIZE_T_MAX overflow (#22643)Benjamin Peterson2014-10-151-3/+2
| |
* | Merge 3.3Benjamin Peterson2014-10-151-1/+1
|\ \ | |/
| * make sure length is unsignedBenjamin Peterson2014-10-151-1/+1
| |
* | merge 3.3 (#22643)Benjamin Peterson2014-10-151-0/+5
|\ \ | |/
| * fix integer overflow in unicode case operations (closes #22643)Benjamin Peterson2014-10-151-0/+5
| |
* | merge 3.3 (#22520)Benjamin Peterson2014-09-301-11/+17
|\ \ | |/
| * prevent overflow in unicode_repr (closes #22520)Benjamin Peterson2014-09-301-11/+17
| |
* | merge 3.3 (closes #22518)Benjamin Peterson2014-09-291-17/+47
|\ \ | |/
| * cleanup overflowing handling in unicode_decode_call_errorhandler and ↵Benjamin Peterson2014-09-291-18/+56
| | | | | | | | unicode_encode_ucs1 (closes #22518)
* | Issue #21892, #21893: Partial revert of changeset 4f55e802baf0, PyErr_Format()Victor Stinner2014-07-041-18/+8
| | | | | | | | uses "%zd" for Py_ssize_t, not PY_FORMAT_SIZE_T
* | Closes #21892, #21893: Use PY_FORMAT_SIZE_T instead of %zi or %zu to format CVictor Stinner2014-07-011-11/+23
| | | | | | | | size_t, because %zi/%u is not supported on all platforms.
* | Make the various iterators' "setstate" sliently and consistently clip theKristján Valur Jónsson2014-03-051-3/+7
|\ \ | |/ | | | | | | index. This avoids the possibility of setting an iterator to an invalid state.
| * Make the various iterators' "setstate" sliently and consistently clip theKristján Valur Jónsson2014-03-051-3/+7
| | | | | | | | | | index. This avoids the possibility of setting an iterator to an invalid state.
| * Issue #19619: Blacklist non-text codecs in method APISerhiy Storchaka2014-02-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | str.encode, bytes.decode and bytearray.decode now use an internal API to throw LookupError for known non-text encodings, rather than attempting the encoding or decoding operation and then throwing a TypeError for an unexpected output type. The latter mechanism remains in place for third party non-text encodings. Backported changeset d68df99d7a57.
* | merge 3.3 (#20507)Benjamin Peterson2014-02-151-1/+1
|\ \ | |/
| * give non-iterable TypeError a message (closes #20507)Benjamin Peterson2014-02-151-1/+1
| |
* | Issue #20437: Fixed 22 potential bugs when deleting objects references.Serhiy Storchaka2014-02-091-10/+5
|\ \ | |/
| * Issue #20437: Fixed 21 potential bugs when deleting objects references.Serhiy Storchaka2014-02-091-8/+4
| |
* | Issue #20530: Argument Clinic's signature format has been revised again.Larry Hastings2014-02-091-2/+4
| | | | | | | | | | | | | | The new syntax is highly human readable while still preventing false positives. The syntax also extends Python syntax to denote "self" and positional-only parameters, allowing inspect.Signature objects to be totally accurate for all supported builtins in Python 3.4.
* | Issue #20538: UTF-7 incremental decoder produced inconsistant string whenSerhiy Storchaka2014-02-081-1/+9
|\ \ | |/ | | | | input was truncated in BASE64 section.
| * Issue #20538: UTF-7 incremental decoder produced inconsistant string whenSerhiy Storchaka2014-02-081-1/+9
| | | | | | | | input was truncated in BASE64 section.
* | Issue #20326: Argument Clinic now uses a simple, unique signature toLarry Hastings2014-01-281-3/+3
| | | | | | | | | | | | | | | | | | | | annotate text signatures in docstrings, resulting in fewer false positives. "self" parameters are also explicitly marked, allowing inspect.Signature() to authoritatively detect (and skip) said parameters. Issue #20326: Argument Clinic now generates separate checksums for the input and output sections of the block, allowing external tools to verify that the input has not changed (and thus the output is not out-of-date).
* | Issue #20390: Small fixes and improvements for Argument Clinic.Larry Hastings2014-01-261-1/+1
| |
* | Issue #20189: Four additional builtin types (PyTypeObject,Larry Hastings2014-01-241-4/+4
| | | | | | | | | | | | PyMethodDescr_Type, _PyMethodWrapper_Type, and PyWrapperDescr_Type) have been modified to provide introspection information for builtins. Also: many additional Lib, test suite, and Argument Clinic fixes.
* | Issue19995: fixed typo; switched from test.support.check_warnings to assertWarnsEthan Furman2014-01-121-2/+2
| |
* | Issue19995: issue deprecation warning for non-integer values to %c, %o, %x, %XEthan Furman2014-01-121-2/+27
| |
* | Issue #19273: The marker comments Argument Clinic uses have been changedLarry Hastings2014-01-071-6/+6
| | | | | | | | to improve readability.
* | Issue19995: %o, %x, %X now only accept intsEthan Furman2014-01-051-8/+27
| |