Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | | | fix reference leaks in the translate fast path (closes #21175) | Benjamin Peterson | 2014-04-08 | 1 | -14/+8 |
| | | | | | | | | | | | | Patch by Josh Rosenberg. | ||||
* | | | Issue #21118: Optimize also str.translate() for ASCII => ASCII deletion | Victor Stinner | 2014-04-05 | 1 | -19/+29 |
| | | | |||||
* | | | Issue #21118: Add unit test for invalid character replacement (code point ↵ | Victor Stinner | 2014-04-05 | 1 | -10/+10 |
| | | | | | | | | | | | | higher than U+10ffff) | ||||
* | | | Issue #21118: Optimize str.translate() for ASCII => ASCII translation | Victor Stinner | 2014-04-05 | 1 | -1/+120 |
| | | | |||||
* | | | Issue #21118: Remove unused variable | Victor Stinner | 2014-04-04 | 1 | -1/+0 |
| | | | |||||
* | | | Issue #21118: Use _PyUnicodeWriter API in str.translate() to simplify and | Victor Stinner | 2014-04-04 | 1 | -171/+95 |
| | | | | | | | | | | | | factorize the code | ||||
* | | | Issue19995: more informative error message; spelling corrections; use ↵ | Ethan Furman | 2014-03-21 | 1 | -5/+20 |
| | | | | | | | | | | | | operator.mod instead of __mod__ | ||||
* | | | Issue19995: passing a non-int to %o, %c, %x, or %X now raises an exception | Ethan Furman | 2014-03-19 | 1 | -26/+2 |
| | | | |||||
* | | | Issue #20574: Implement incremental decoder for cp65001 code | Victor Stinner | 2014-03-17 | 1 | -32/+9 |
|/ / | | | | | | | (Windows code page 65001, Microsoft UTF-8). | ||||
* | | Make the various iterators' "setstate" sliently and consistently clip the | Kristján Valur Jónsson | 2014-03-05 | 1 | -3/+7 |
|\ \ | |/ | | | | | | | index. This avoids the possibility of setting an iterator to an invalid state. | ||||
| * | Make the various iterators' "setstate" sliently and consistently clip the | Kristján Valur Jónsson | 2014-03-05 | 1 | -3/+7 |
| | | | | | | | | | | index. This avoids the possibility of setting an iterator to an invalid state. | ||||
| * | Issue #19619: Blacklist non-text codecs in method API | Serhiy Storchaka | 2014-02-24 | 1 | -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 Peterson | 2014-02-15 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | give non-iterable TypeError a message (closes #20507) | Benjamin Peterson | 2014-02-15 | 1 | -1/+1 |
| | | |||||
* | | Issue #20437: Fixed 22 potential bugs when deleting objects references. | Serhiy Storchaka | 2014-02-09 | 1 | -10/+5 |
|\ \ | |/ | |||||
| * | Issue #20437: Fixed 21 potential bugs when deleting objects references. | Serhiy Storchaka | 2014-02-09 | 1 | -8/+4 |
| | | |||||
* | | Issue #20530: Argument Clinic's signature format has been revised again. | Larry Hastings | 2014-02-09 | 1 | -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 when | Serhiy Storchaka | 2014-02-08 | 1 | -1/+9 |
|\ \ | |/ | | | | | input was truncated in BASE64 section. | ||||
| * | Issue #20538: UTF-7 incremental decoder produced inconsistant string when | Serhiy Storchaka | 2014-02-08 | 1 | -1/+9 |
| | | | | | | | | input was truncated in BASE64 section. | ||||
* | | Issue #20326: Argument Clinic now uses a simple, unique signature to | Larry Hastings | 2014-01-28 | 1 | -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 Hastings | 2014-01-26 | 1 | -1/+1 |
| | | |||||
* | | Issue #20189: Four additional builtin types (PyTypeObject, | Larry Hastings | 2014-01-24 | 1 | -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. |