Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #23501: Argumen Clinic now generates code into separate files by default. | Serhiy Storchaka | 2015-04-03 | 1 | -39/+3 |
| | |||||
* | _PyUnicodeWriter_WriteStr() now checks that the input string is consistent | Victor Stinner | 2015-03-26 | 1 | -0/+1 |
| | | | | | | | in debug mode to detect bugs earlier. _PyUnicodeWriter_Finish() doesn't check if the read only string is consistent, whereas it does check consistency for strings built by itself. | ||||
* | Issue #23573: Increased performance of string search operations (str.find, | Serhiy Storchaka | 2015-03-24 | 1 | -152/+192 |
| | | | | | str.index, str.count, the in operator, str.split, str.partition) with arguments of different kinds (UCS1, UCS2, UCS4). | ||||
* | Fix compiler warnings: comparison between signed and unsigned numbers | Victor Stinner | 2015-03-20 | 1 | -1/+1 |
| | |||||
* | Initialize variables to prevent GCC warnings | Victor Stinner | 2015-03-18 | 1 | -15/+20 |
| | |||||
* | Issue #23451: Update pyconfig.h for Windows to require Vista headers and ↵ | Steve Dower | 2015-03-02 | 1 | -18/+1 |
| | | | | remove unnecessary version checks. | ||||
* | Issue #23490: Fixed possible crashes related to interoperability between | Serhiy Storchaka | 2015-02-20 | 1 | -0/+9 |
|\ | | | | | | | old-style and new API for string with 2**30-1 characters. | ||||
| * | Issue #23490: Fixed possible crashes related to interoperability between | Serhiy Storchaka | 2015-02-20 | 1 | -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 integer | Serhiy Storchaka | 2015-02-16 | 1 | -17/+5 |
|\ \ | |/ | | | | | overflows. Added few missed PyErr_NoMemory(). | ||||
| * | Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integer | Serhiy Storchaka | 2015-02-16 | 1 | -17/+5 |
| | | | | | | | | overflows. Added few missed PyErr_NoMemory(). | ||||
* | | Issue #15859: PyUnicode_EncodeFSDefault(), PyUnicode_EncodeMBCS() and | Victor Stinner | 2015-01-26 | 1 | -4/+5 |
| | | | | | | | | | | | | PyUnicode_EncodeCodePage() now raise an exception if the object is not an Unicode object. For PyUnicode_EncodeFSDefault(), it was already the case on platforms other than Windows. Patch written by Campbell Barton. | ||||
* | | Issue #23321: Fixed a crash in str.decode() when error handler returned | Serhiy Storchaka | 2015-01-25 | 1 | -2/+6 |
|\ \ | |/ | | | | | replacment string longer than mailformed input data. | ||||
| * | Issue #23321: Fixed a crash in str.decode() when error handler returned | Serhiy Storchaka | 2015-01-25 | 1 | -2/+6 |
| | | | | | | | | replacment string longer than mailformed input data. | ||||
* | | Issue20284: Implement PEP461 | Ethan Furman | 2015-01-24 | 1 | -7/+5 |
| | | |||||
* | | Issue #23181: More "codepoint" -> "code point". | Serhiy Storchaka | 2015-01-18 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Issue #23181: More "codepoint" -> "code point". | Serhiy Storchaka | 2015-01-18 | 1 | -2/+2 |
| | | |||||
* | | Issue #22581: Use more "bytes-like object" throughout the docs and comments. | Serhiy Storchaka | 2014-12-05 | 1 | -2/+1 |
|\ \ | |/ | |||||
| * | Issue #22581: Use more "bytes-like object" throughout the docs and comments. | Serhiy Storchaka | 2014-12-05 | 1 | -2/+1 |
| | | |||||
* | | Issue #22975: Close block at right place. | Serhiy Storchaka | 2014-12-01 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #22975: Close block at right place. | Serhiy Storchaka | 2014-12-01 | 1 | -1/+1 |
| | | |||||
| * | Merge 3.3 | Benjamin Peterson | 2014-10-16 | 1 | -1/+1 |
| |\ | |||||
| | * | Fixed signed/unsigned comparison warning | Antoine Pitrou | 2014-10-15 | 1 | -1/+1 |
| | | | |||||
* | | | Issue #20948: Inline makefmt() in unicode_fromformat_arg() | Victor Stinner | 2014-11-18 | 1 | -44/+9 |
| | | | |||||
* | | | Fixed signed/unsigned comparison warning | Antoine Pitrou | 2014-10-15 | 1 | -1/+1 |
| | | | |||||
* | | | merge 3.4 (closes #22643) | Benjamin Peterson | 2014-10-15 | 1 | -3/+2 |
|\ \ \ | |/ / | |||||
| * | | merge 3.3 | Benjamin Peterson | 2014-10-15 | 1 | -3/+2 |
| |\ \ | | |/ | |||||
| | * | it suffices to check for PY_SSIZE_T_MAX overflow (#22643) | Benjamin Peterson | 2014-10-15 | 1 | -3/+2 |
| | | | |||||
* | | | Merge 3.4 | Benjamin Peterson | 2014-10-15 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Merge 3.3 | Benjamin Peterson | 2014-10-15 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| | * | make sure length is unsigned | Benjamin Peterson | 2014-10-15 | 1 | -1/+1 |
| | | | |||||
* | | | merge 3.4 (#22643) | Benjamin Peterson | 2014-10-15 | 1 | -0/+5 |
|\ \ \ | |/ / | |||||
| * | | merge 3.3 (#22643) | Benjamin Peterson | 2014-10-15 | 1 | -0/+5 |
| |\ \ | | |/ | |||||
| | * | fix integer overflow in unicode case operations (closes #22643) | Benjamin Peterson | 2014-10-15 | 1 | -0/+5 |
| | | | |||||
* | | | Fix "warning: comparison between signed and unsigned integer expressions" | Gregory P. Smith | 2014-09-30 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | | | -Wsign-compare warnings in unicodeobject.c. These were all a result of sizeof() being unsigned and being compared to a Py_ssize_t. Not actual problems. | ||||
* | | | merge 3.4 (#22520) | Benjamin Peterson | 2014-09-30 | 1 | -11/+17 |
|\ \ \ | |/ / | |||||
| * | | merge 3.3 (#22520) | Benjamin Peterson | 2014-09-30 | 1 | -11/+17 |
| |\ \ | | |/ | |||||
| | * | prevent overflow in unicode_repr (closes #22520) | Benjamin Peterson | 2014-09-30 | 1 | -11/+17 |
| | | | |||||
* | | | merge 3.4 (closes #22518) | Benjamin Peterson | 2014-09-29 | 1 | -17/+47 |
|\ \ \ | |/ / | |||||
| * | | merge 3.3 (closes #22518) | Benjamin Peterson | 2014-09-29 | 1 | -17/+47 |
| |\ \ | | |/ | |||||
| | * | cleanup overflowing handling in unicode_decode_call_errorhandler and ↵ | Benjamin Peterson | 2014-09-29 | 1 | -18/+56 |
| | | | | | | | | | | | | unicode_encode_ucs1 (closes #22518) | ||||
* | | | Removed redundant casts to `char *`. | Serhiy Storchaka | 2014-09-28 | 1 | -2/+2 |
| | | | | | | | | | | | | Corresponding functions now accept `const char *` (issue #1772673). | ||||
* | | | Issue #22215: Now ValueError is raised instead of TypeError when str or bytes | Serhiy Storchaka | 2014-09-06 | 1 | -5/+5 |
| | | | | | | | | | | | | argument contains not permitted null character or byte. | ||||
* | | | Issue #22156: Fix "comparison between signed and unsigned integers" compiler | Victor Stinner | 2014-08-15 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | | | | | | warnings in the Objects/ subdirectory. PyType_FromSpecWithBases() and PyType_FromSpec() now reject explicitly negative slot identifiers. | ||||
* | | | Issue #18395: Rename ``_Py_char2wchar()`` to :c:func:`Py_DecodeLocale`, rename | Victor Stinner | 2014-08-01 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | ``_Py_wchar2char()`` to :c:func:`Py_EncodeLocale`, and document these functions. | ||||
* | | | unicodeobject.c: fix a compiler warning on Windows 64 bits | Victor Stinner | 2014-07-25 | 1 | -1/+2 |
| | | | |||||
* | | | (Merge 3.4) Issue #21892, #21893: Partial revert of changeset 4f55e802baf0, | Victor Stinner | 2014-07-04 | 1 | -18/+8 |
|\ \ \ | |/ / | | | | | | | PyErr_Format() uses "%zd" for Py_ssize_t, not PY_FORMAT_SIZE_T | ||||
| * | | Issue #21892, #21893: Partial revert of changeset 4f55e802baf0, PyErr_Format() | Victor Stinner | 2014-07-04 | 1 | -18/+8 |
| | | | | | | | | | | | | uses "%zd" for Py_ssize_t, not PY_FORMAT_SIZE_T | ||||
* | | | (Merge 3.4) Closes #21892, #21893: Use PY_FORMAT_SIZE_T instead of %zi or %zu | Victor Stinner | 2014-07-01 | 1 | -11/+23 |
|\ \ \ | |/ / | | | | | | | to format C size_t, because %zi/%u is not supported on all platforms. | ||||
| * | | Closes #21892, #21893: Use PY_FORMAT_SIZE_T instead of %zi or %zu to format C | Victor Stinner | 2014-07-01 | 1 | -11/+23 |
| | | | | | | | | | | | | size_t, because %zi/%u is not supported on all platforms. | ||||
* | | | Issue #21118: PyLong_AS_LONG() result type is long | Victor Stinner | 2014-04-08 | 1 | -1/+1 |
| | | | | | | | | | | | | Even if PyLong_AS_LONG() cannot fail, I prefer to use the right type. |