229 Commits (e8ea355b728fa2ae3fa060eeea477ebfa159a5f5)

Author SHA1 Message Date
Antoine Pitrou 8c6f8dc527 Issue #19537: Fix PyUnicode_DATA() alignment under m68k. Patch by Andreas Schwab. 12 years ago
Martin v. Löwis 1c0689c613 Issue #19526: Exclude all new API from the stable ABI. 12 years ago
Victor Stinner a726192181 oops, remove _PyObject_ReprWriter() definition (unwanted change) 12 years ago
Victor Stinner 4a58707a34 Add _PyUnicodeWriter_WriteASCIIString() function 12 years ago
Victor Stinner ad14ccd047 Issue #19512: add _PyUnicode_CompareWithId() function 12 years ago
Antoine Pitrou 9ed5f27266 Issue #18722: Remove uses of the "register" keyword in C code. 13 years ago
Victor Stinner f476405503 fix typo in a comment 13 years ago
Victor Stinner 8f674ccd64 Close #17694: Add minimum length to _PyUnicodeWriter 13 years ago
Victor Stinner a0dd0213cc Close #17693: Rewrite CJK decoders to use the _PyUnicodeWriter API instead of 13 years ago
Victor Stinner cfc4c13b04 Add _PyUnicodeWriter_WriteSubstring() function 13 years ago
Victor Stinner d45c7f8d74 Issue #16455: On FreeBSD and Solaris, if the locale is C, the 13 years ago
Victor Stinner 76df43de30 Issue #16330: Use surrogate-related macros 14 years ago
Victor Stinner e215d960be Issue #16147: Rewrite PyUnicode_FromFormatV() to use _PyUnicodeWriter API 14 years ago
Ezio Melotti e7f90375b1 #16127: remove outdated references to narrow builds. Patch by Serhiy Storchaka. 14 years ago
Victor Stinner 90db9c47dc Enable also ptr==ptr optimization in PyUnicode_Compare() 14 years ago
Antoine Pitrou 27f6a3b0bf Issue #15026: utf-16 encoding is now significantly faster (up to 10x). 14 years ago
Victor Stinner d7b7c7472b Issue #14993: Use standard "unsigned char" instead of a unsigned char bitfield 14 years ago
Victor Stinner d3f0882dfb Issue #14744: Use the new _PyUnicodeWriter internal API to speed up str%args and str.format(args) 14 years ago
Victor Stinner ece58deb9f Close #14648: Compute correctly maxchar in str.format() for substrin 14 years ago
Victor Stinner c9590ad745 Close #14085: remove assertions from PyUnicode_WRITE macro 14 years ago
Victor Stinner 41a863cb81 Issue #13706: Fix format(int, "n") for locale with non-ASCII thousands separator 14 years ago
Victor Stinner ed27785b32 Issue #13706: Add assertions to detect bugs earlier 14 years ago
Antoine Pitrou 1334884ff2 Issue #13848: open() and the FileIO constructor now check for NUL characters in the file name. 14 years ago
Benjamin Peterson ce79852077 use the static identifier api for looking up special methods 14 years ago
Benjamin Peterson d5890c8db5 add str.casefold() (closes #13752) 14 years ago
Amaury Forgeot d'Arc 77b1ecf0ad Silence compilation warnings on Windows 14 years ago
Benjamin Peterson b2bf01d824 use full unicode mappings for upper/lower/title case (#12736) 14 years ago
Victor Stinner 3fe553160c Add a new PyUnicode_Fill() function 14 years ago
Victor Stinner 80bc72d5a2 fix PyCompactUnicodeObject doc (test) 14 years ago
Victor Stinner 52e2cc8604 backout 7876cd49300d: Move PyUnicode_WCHAR_KIND outside PyUnicode_Kind enum 14 years ago
Victor Stinner 0ba5af20c0 Move PyUnicode_WCHAR_KIND outside PyUnicode_Kind enum 14 years ago
Victor Stinner 1b57967b96 Issue #13560: Locale codec functions use the classic "errors" parameter, 14 years ago
Victor Stinner f2ea71fcc8 Issue #13560: Add PyUnicode_EncodeLocale() 14 years ago
Victor Stinner af02e1c85a Add PyUnicode_DecodeLocaleAndSize() and PyUnicode_DecodeLocale() 14 years ago
Victor Stinner 16e6a80923 PyUnicode_Resize(): warn about canonical representation 14 years ago
Victor Stinner b0a82a6a7f Fix PyUnicode_Resize() for compact string: leave the string unchanged on error 14 years ago
Victor Stinner bf6e560d0c Make PyUnicode_Copy() private => _PyUnicode_Copy() 14 years ago
Victor Stinner 7a9105a380 resize_copy() now supports legacy ready strings 14 years ago
Victor Stinner 24c74be9a3 PyUnicode_IS_ASCII() macro ensures that the string is ready 14 years ago
Victor Stinner 551ac95733 Py_UNICODE_HIGH_SURROGATE() and Py_UNICODE_LOW_SURROGATE() macros 14 years ago
Victor Stinner f3ae6208c7 PyUnicode_GET_SIZE() checks that PyUnicode_AsUnicode() succeed 14 years ago
Victor Stinner 77faf69ca1 _PyUnicode_CheckConsistency() also checks maxchar maximum value, 14 years ago
Victor Stinner 9343999597 Fix PyUnicode_CopyCharacters() doc 14 years ago
Victor Stinner 7c8bbbbb0c Ensure that Py_UCS4 is 32 bits and Py_UCS2 is 16 bits 14 years ago
Victor Stinner 6f9568bb1f Fix misused of "PyUnicodeObject" structure name in unicodeobject.h 14 years ago
Martin v. Löwis 1db7c13be1 Port encoders from Py_UNICODE API to unicode object API. 14 years ago
Martin v. Löwis d10759f6ed Make _PyUnicode_FromId return borrowed references. 14 years ago
Victor Stinner e30c0a1014 Fix gdb/libpython.py for not ready Unicode strings 15 years ago
Victor Stinner 7931d9a951 Replace PyUnicodeObject type by PyObject 15 years ago
Martin v. Löwis 23e275b3ad Port UCS1 and charmap codecs to new API. 15 years ago