Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions. | Serhiy Storchaka | 2016-12-05 | 1 | -2/+16 |
|\ | |||||
| * | Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions. | Serhiy Storchaka | 2016-12-05 | 1 | -2/+16 |
| | | |||||
* | | Issue #28760: Clean up and fix comments in PyUnicode_AsUnicodeEscapeString(). | Serhiy Storchaka | 2016-11-21 | 1 | -10/+4 |
| | | | | | | | | Patch by Xiang Zhang. | ||||
* | | Issue #28701: _PyUnicode_EqualToASCIIId and _PyUnicode_EqualToASCIIString now | Serhiy Storchaka | 2016-11-16 | 1 | -0/+11 |
| | | | | | | | | require ASCII right argument and assert this condition in debug build. | ||||
* | | Fixed an off-by-one error in _PyUnicode_EqualToASCIIString (issue #28701). | Serhiy Storchaka | 2016-11-16 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fixed an off-by-one error in _PyUnicode_EqualToASCIIString (issue #28701). | Serhiy Storchaka | 2016-11-16 | 1 | -1/+1 |
| | | |||||
* | | Issue #21449: Removed private function _PyUnicode_CompareWithId. | Serhiy Storchaka | 2016-11-16 | 1 | -9/+0 |
| | | |||||
* | | Issue #28701: Replace _PyUnicode_CompareWithId with _PyUnicode_EqualToASCIIId. | Serhiy Storchaka | 2016-11-16 | 1 | -0/+38 |
|\ \ | |/ | | | | | | | | | The latter function is more readable, faster and doesn't raise exceptions. Based on patch by Xiang Zhang. | ||||
| * | Issue #28701: Replace _PyUnicode_CompareWithId with _PyUnicode_EqualToASCIIId. | Serhiy Storchaka | 2016-11-16 | 1 | -0/+38 |
| | | | | | | | | | | | | The latter function is more readable, faster and doesn't raise exceptions. Based on patch by Xiang Zhang. | ||||
* | | Issue #28701: Replace PyUnicode_CompareWithASCIIString with ↵ | Serhiy Storchaka | 2016-11-16 | 1 | -0/+35 |
|\ \ | |/ | | | | | | | | | _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions. | ||||
| * | Issue #28701: Replace PyUnicode_CompareWithASCIIString with ↵ | Serhiy Storchaka | 2016-11-16 | 1 | -0/+35 |
| | | | | | | | | | | | | _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions. | ||||
* | | Issue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X | Serhiy Storchaka | 2016-11-12 | 1 | -1/+1 |
|\ \ | |/ | | | | | when decode astral characters. | ||||
| * | Issue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X | Serhiy Storchaka | 2016-11-12 | 1 | -1/+1 |
| |\ | | | | | | | | | | when decode astral characters. | ||||
| | * | Issue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X | Serhiy Storchaka | 2016-11-12 | 1 | -1/+1 |
| | |\ | | | | | | | | | | | | | when decode astral characters. | ||||
| | | * | Issue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X | Serhiy Storchaka | 2016-11-12 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | when decode astral characters. | ||||
| | | * | Issue #25709: Fixed problem with in-place string concatenation and utf-8 cache. | Serhiy Storchaka | 2015-12-02 | 1 | -0/+5 |
| | | | | |||||
* | | | | Closes #27781: Removes special cases for the experimental aspect of PEP 529 | Steve Dower | 2016-11-07 | 1 | -10/+1 |
| | | | | |||||
* | | | | Issue 28128: Print out better error/warning messages for invalid string ↵ | Eric V. Smith | 2016-10-31 | 1 | -6/+32 |
| | | | | | | | | | | | | | | | | escapes. Backport to 3.6. | ||||
* | | | | Issue #28426: Deprecated undocumented functions PyUnicode_AsEncodedObject(), | Serhiy Storchaka | 2016-10-27 | 1 | -0/+21 |
| | | | | | | | | | | | | | | | | | | | | PyUnicode_AsDecodedObject(), PyUnicode_AsDecodedUnicode() and PyUnicode_AsEncodedUnicode(). | ||||
* | | | | Issue #28408: Fixed a leak and remove redundant code in ↵ | Serhiy Storchaka | 2016-10-25 | 1 | -18/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | _PyUnicodeWriter_Finish(). Patch by Xiang Zhang. | ||||
* | | | | Issue #28426: Fixed potential crash in PyUnicode_AsDecodedObject() in debug ↵ | Serhiy Storchaka | 2016-10-25 | 1 | -10/+2 |
|\ \ \ \ | |/ / / | | | | | | | | | build. | ||||
| * | | | Issue #28426: Fixed potential crash in PyUnicode_AsDecodedObject() in debug ↵ | Serhiy Storchaka | 2016-10-25 | 1 | -10/+2 |
| |\ \ \ | | |/ / | | | | | | | | | build. | ||||
| | * | | Issue #28426: Fixed potential crash in PyUnicode_AsDecodedObject() in debug ↵ | Serhiy Storchaka | 2016-10-25 | 1 | -10/+2 |
| | | | | | | | | | | | | | | | | build. | ||||
* | | | | Issue #28410: Added _PyErr_FormatFromCause() -- the helper for raising | Serhiy Storchaka | 2016-10-21 | 1 | -5/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | new exception with setting current exception as __cause__. _PyErr_FormatFromCause(exception, format, args...) is equivalent to Python raise exception(format % args) from sys.exc_info()[1] | ||||
* | | | | merge 3.5 (#28454) | Benjamin Peterson | 2016-10-16 | 1 | -4/+4 |
|\ \ \ \ | |/ / / | |||||
| * | | | remove extra PyErr_Format arguments (closes #28454) | Benjamin Peterson | 2016-10-16 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | Patch from Xiang Zhang. | ||||
* | | | | Fix _Py_normalize_encoding() command | Victor Stinner | 2016-10-12 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | It's not exactly the same than encodings.normalize_encoding(): the C function also converts to lowercase. | ||||
* | | | | va_end vargs2 once (closes #28417) | Benjamin Peterson | 2016-10-12 | 1 | -1/+0 |
| | | | | |||||
* | | | | 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 |
| | | | |