Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | merge 3.6 (#28417) | Benjamin Peterson | 2016-10-12 | 1 | -1/+0 | |
|\ \ \ \ \ | |/ / / / | ||||||
| * | | | | va_end vargs2 once (closes #28417) | Benjamin Peterson | 2016-10-12 | 1 | -1/+0 | |
| | | | | | ||||||
* | | | | | Issue #28400: Removed uncessary checks in unicode_char and resize_copy. | Serhiy Storchaka | 2016-10-09 | 1 | -9/+5 | |
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. In resize_copy we don't need to PyUnicode_READY(unicode) since when it's not PyUnicode_WCHAR_KIND it should be ready. 2. In unicode_char, PyUnicode_1BYTE_KIND is handled by get_latin1_char. Patch by Xiang Zhang. | |||||
* | | | | Merge from 3.5. | Serhiy Storchaka | 2016-10-08 | 1 | -3/+7 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Issue #28379: Added sanity checks and tests for PyUnicode_CopyCharacters(). | Serhiy Storchaka | 2016-10-08 | 1 | -3/+7 | |
| | | | | | | | | | | | | | | | | Patch by Xiang Zhang. | |||||
* | | | | Merge 3.5 | Victor Stinner | 2016-09-21 | 1 | -1/+1 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Fix PyUnicode_FromFormatV() error handling | Victor Stinner | 2016-09-21 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | Issue #28233: Fix a memory leak if the format string contains a non-ASCII character, destroy the unicode writer. | |||||
* | | | | va_end() all va_copy()ed va_lists. | Christian Heimes | 2016-09-21 | 1 | -0/+3 | |
| | | | | ||||||
* | | | | replace usage of Py_VA_COPY with the (C99) standard va_copy | Benjamin Peterson | 2016-09-21 | 1 | -3/+2 | |
| | | | | ||||||
* | | | | Issue #28126: Replace Py_MEMCPY with memcpy(). Visual Studio can properly ↵ | Christian Heimes | 2016-09-13 | 1 | -16/+16 | |
| | | | | | | | | | | | | | | | | optimize memcpy(). | |||||
* | | | | remove all usage of Py_LOCAL | Benjamin Peterson | 2016-09-09 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | #27364: Deprecate invalid escape strings in str/byutes. | R David Murray | 2016-09-08 | 1 | -0/+3 | |
| | | | | | | | | | | | | | | | | Patch by Emanuel Barry, reviewed by Serhiy Storchaka and Martin Panter. | |||||
* | | | | Issue #27781: Change file system encoding on Windows to UTF-8 (PEP 529) | Steve Dower | 2016-09-08 | 1 | -19/+27 | |
| | | | | ||||||
* | | | | more PY_LONG_LONG to long long | Benjamin Peterson | 2016-09-08 | 1 | -2/+2 | |
| | | | | ||||||
* | | | | replace some Py_LOCAL_INLINE with the inline keyword | Benjamin Peterson | 2016-09-07 | 1 | -9/+10 | |
| | | | | ||||||
* | | | | merge 3.5 | Benjamin Peterson | 2016-09-07 | 1 | -3/+3 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | promote some shifts to unsigned, so as not to invoke undefined behavior | Benjamin Peterson | 2016-09-07 | 1 | -3/+3 | |
| | | | | ||||||
* | | | | Issue #27182: Add support for path-like objects to PyUnicode_FSDecoder(). | Brett Cannon | 2016-09-07 | 1 | -14/+37 | |
| | | | | ||||||
* | | | | Optimize unicode_escape and raw_unicode_escape | Victor Stinner | 2016-09-07 | 1 | -374/+314 | |
| | | | | | | | | | | | | | | | | Issue #16334. Patch written by Serhiy Storchaka. | |||||
* | | | | _PyUnicodeWriter: assert that max character <= MAX_UNICODE | Victor Stinner | 2016-09-06 | 1 | -0/+3 | |
| | | | | ||||||
* | | | | Issue #26027: Support path-like objects in PyUnicode-FSConverter(). | Brett Cannon | 2016-09-06 | 1 | -12/+13 | |
| | | | | | | | | | | | | | | | | | | | | This is to add support for os.exec*() and os.spawn*() functions. Part of PEP 519. | |||||
* | | | | replace Python aliases for standard integer types with the standard integer ↵ | Benjamin Peterson | 2016-09-06 | 1 | -4/+4 | |
| | | | | | | | | | | | | | | | | types (#17884) | |||||
* | | | | Issue #27078: Added BUILD_STRING opcode. Optimized f-strings evaluation. | Serhiy Storchaka | 2016-09-06 | 1 | -18/+24 | |
| | | | | ||||||
* | | | | replace PY_LONG_LONG with long long | Benjamin Peterson | 2016-09-06 | 1 | -2/+2 | |
| | | | | ||||||
* | | | | require a long long data type (closes #27961) | Benjamin Peterson | 2016-09-06 | 1 | -6/+0 | |
| | | | | ||||||
* | | | | Issue #27938: Add a fast-path for us-ascii encoding | Victor Stinner | 2016-09-05 | 1 | -56/+110 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Other changes: * Rewrite _Py_normalize_encoding() as a C implementation of encodings.normalize_encoding(). For example, " utf-8 " is now normalized to "utf_8". So the fast path is now used for more name variants of the same encoding. * Avoid strcpy() when encoding is NULL: call directly the UTF-8 codec | |||||
* | | | | PEP 7 style for if/else in C | Victor Stinner | 2016-09-02 | 1 | -16/+32 | |
| | | | | | | | | | | | | | | | | Add also a newline for readability in normalize_encoding(). | |||||
* | | | | Issue #27895: Spelling fixes (Contributed by Ville Skyttä). | Raymond Hettinger | 2016-08-30 | 1 | -7/+7 | |
| | | | | ||||||
* | | | | Issue #26754: Undocumented support of general bytes-like objects | Serhiy Storchaka | 2016-08-06 | 1 | -6/+7 | |
| | | | | | | | | | | | | | | | | as path in compile() and similar functions is now deprecated. | |||||
* | | | | Issue #27454: Use PyDict_SetDefault in PyUnicode_InternInPlace | Berker Peksag | 2016-07-25 | 1 | -14/+6 | |
| | | | | | | | | | | | | | | | | Patch by INADA Naoki. | |||||
* | | | | Issue #26754: PyUnicode_FSDecoder() accepted a filename argument encoded as | Serhiy Storchaka | 2016-06-18 | 1 | -1/+7 | |
|\ \ \ \ | |/ / / | | | | | | | | | an iterable of integers. Now only strings and byte-like objects are accepted. | |||||
| * | | | Issue #26754: PyUnicode_FSDecoder() accepted a filename argument encoded as | Serhiy Storchaka | 2016-06-18 | 1 | -1/+7 | |
| | | | | | | | | | | | | | | | | an iterable of integers. Now only strings and byte-like objects are accepted. | |||||
* | | | | Issue #27171: Merge typo fixes from 3.5 | Martin Panter | 2016-06-02 | 1 | -1/+1 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Issue #27171: Fix typos in documentation, comments, and test function names | Martin Panter | 2016-06-02 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | Issue #26765: Moved common code and docstrings for bytes and bytearray methods | Serhiy Storchaka | 2016-05-04 | 1 | -10/+24 | |
| | | | | | | | | | | | | | | | | to bytes_methods.c. | |||||
* | | | | Issue #15984: Merge PyUnicode doc from 3.5 | Martin Panter | 2016-04-15 | 1 | -1/+1 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc | Martin Panter | 2016-04-15 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | This affects documentation, code comments, and a debugging messages. | |||||
* | | | | Issue #26057: Got rid of nonneeded use of PyUnicode_FromObject(). | Serhiy Storchaka | 2016-04-13 | 1 | -399/+163 | |
| | | | | ||||||
* | | | | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF | Serhiy Storchaka | 2016-04-10 | 1 | -4/+4 | |
|\ \ \ \ | |/ / / | | | | | | | | | in places where Py_DECREF was used. | |||||
| * | | | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF | Serhiy Storchaka | 2016-04-10 | 1 | -4/+4 | |
| | | | | | | | | | | | | | | | | in places where Py_DECREF was used. | |||||
* | | | | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 1 | -4/+4 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 1 | -4/+4 | |
| | | | | ||||||
* | | | | Issue #26494: Fixed crash on iterating exhausting iterators. | Serhiy Storchaka | 2016-03-30 | 1 | -1/+1 | |
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | Affected classes are generic sequence iterators, iterators of str, bytes, bytearray, list, tuple, set, frozenset, dict, OrderedDict, corresponding views and os.scandir() iterator. | |||||
| * | | | Issue #26494: Fixed crash on iterating exhausting iterators. | Serhiy Storchaka | 2016-03-30 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Affected classes are generic sequence iterators, iterators of str, bytes, bytearray, list, tuple, set, frozenset, dict, OrderedDict, corresponding views and os.scandir() iterator. | |||||
* | | | | Merge 3.5 | Victor Stinner | 2016-03-01 | 1 | -9/+12 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Issue #26464: Fix unicode_fast_translate() again | Victor Stinner | 2016-03-01 | 1 | -9/+12 | |
| | | | | | | | | | | | | | | | | Initialize i variable if the string is non-ASCII. | |||||
* | | | | Merge 3.5 | Victor Stinner | 2016-03-01 | 1 | -3/+4 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Fix str.translate() | Victor Stinner | 2016-03-01 | 1 | -3/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Issue #26464: Fix str.translate() when string is ASCII and first replacements removes character, but next replacement uses a non-ASCII character or a string longer than 1 character. Regression introduced in Python 3.5.0. | |||||
* | | | | Merge 3.5 | Victor Stinner | 2016-01-27 | 1 | -0/+2 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Fix resize_compact() | Victor Stinner | 2016-01-27 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | | | | | | Issue #26217: resize_compact() must set wstr_length to 0 after freeing the wstr string. Otherwise, an assertion fails in _PyUnicode_CheckConsistency(). |