Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | raw_unicode_escape() uses the new Unicode API | Victor Stinner | 2011-09-29 | 1 | -46/+21 | |
| | | ||||||
* | | Strip trailing spaces of _pickle.c | Victor Stinner | 2011-09-29 | 1 | -17/+17 | |
| | | ||||||
* | | PyLocale_strxfrm() uses the new Unicode API | Victor Stinner | 2011-09-29 | 1 | -24/+15 | |
| | | ||||||
* | | fileio_init() checks for failure on conversion to Py_UNICODE* | Victor Stinner | 2011-09-29 | 1 | -4/+6 | |
| | | ||||||
* | | Fix test_codeccallbacks for Windows: check size of wchar_t, not sys.maxunicode | Victor Stinner | 2011-09-29 | 1 | -4/+6 | |
| | | ||||||
* | | Fix test_codecs for Windows: check size of wchar_t, not sys.maxunicode | Victor Stinner | 2011-09-29 | 1 | -41/+44 | |
| | | ||||||
* | | Merge. | Charles-François Natali | 2011-09-29 | 2 | -40/+32 | |
|\ \ | ||||||
| * | | _PyUnicode_Ready() cannot be used on ready strings anymore | Victor Stinner | 2011-09-29 | 2 | -30/+24 | |
| | | | | | | | | | | | | | | | | | | * Change its prototype: PyObject* instead of PyUnicodeoObject*. * Remove an old assertion, the result of PyUnicode_READY (_PyUnicode_Ready) must be checked instead | |||||
| * | | Move _PyUnicode_UTF8() and _PyUnicode_UTF8_LENGTH() outside unicodeobject.h | Victor Stinner | 2011-09-29 | 2 | -10/+8 | |
| | | | | | | | | | | | | Move these macros to unicodeobject.c | |||||
* | | | Issue #13058: ossaudiodev: fix a file descriptor leak on error. Patch by Thomas | Charles-François Natali | 2011-09-29 | 3 | -0/+5 | |
|\ \ \ | |/ / |/| / | |/ | Jarosch. | |||||
| * | Issue #13058: ossaudiodev: fix a file descriptor leak on error. Patch by Thomas | Charles-François Natali | 2011-09-29 | 3 | -0/+5 | |
| | | | | | | | | Jarosch. | |||||
* | | Add a note in PyUnicode_CopyCharacters() doc: it doesn't write null character | Victor Stinner | 2011-09-29 | 2 | -44/+47 | |
| | | | | | | | | Cleanup also the code (avoid the goto). | |||||
* | | Re-enable test. | Martin v. Löwis | 2011-09-29 | 1 | -4/+1 | |
| | | ||||||
* | | Port normalization to new API. | Martin v. Löwis | 2011-09-29 | 1 | -71/+119 | |
| | | ||||||
* | | Rename Py_BUILD_ASSERT to Py_BUILD_ASSERT_EXPR | Victor Stinner | 2011-09-29 | 1 | -6/+5 | |
| | | | | | | | | | | To make it clearer that Py_BUILD_ASSERT_EXPR(cond) cannot be used as assert(cond). | |||||
* | | pymacro.h: Inline _Py_ARRAY_LENGTH_CHECK() and add http://ccodearchive.net/ | Victor Stinner | 2011-09-29 | 1 | -13/+12 | |
| | | ||||||
* | | Merge heads. | Ezio Melotti | 2011-09-29 | 1 | -21/+42 | |
|\ \ | ||||||
| * | | Update and reorganize the whatsnew entry for PEP 393. | Ezio Melotti | 2011-09-29 | 1 | -21/+42 | |
| | | | ||||||
* | | | Fix hex_digit_to_int() prototype: expect Py_UCS4, not Py_UNICODE | Victor Stinner | 2011-09-29 | 2 | -4/+4 | |
| | | | ||||||
* | | | modsupport.c reuses Py_UNICODE_strlen() | Victor Stinner | 2011-09-29 | 1 | -10/+1 | |
| | | | ||||||
* | | | _io.textio: fix character type, use Py_UCS4 instead of Py_UNICODE | Victor Stinner | 2011-09-29 | 1 | -3/+3 | |
| | | | ||||||
* | | | _sre: don't use Py_UNICODE anymore | Victor Stinner | 2011-09-29 | 1 | -9/+7 | |
|/ / | | | | | | | | | | | * Downcasting from Py_UCS4 to Py_UNICODE is wrong is Py_UNICODE is 16-bit wchar_t * Remove old special case in getstring(), unicode is now handled separetely | |||||
* | | Remove now useless redefinition of chr/ord for narrow builds in ↵ | Ezio Melotti | 2011-09-29 | 1 | -15/+0 | |
| | | | | | | | | test_multibytecodec_support.py. | |||||
* | | Complete What's New in 3.3 about PEP 393 | Victor Stinner | 2011-09-29 | 1 | -0/+28 | |
| | | ||||||
* | | Move UCS4-specific tests with the "normal" tests. | Ezio Melotti | 2011-09-29 | 1 | -8/+4 | |
| | | ||||||
* | | Enhance Py_ARRAY_LENGTH(): fail at build time if the argument is not an array | Victor Stinner | 2011-09-28 | 5 | -19/+65 | |
| | | | | | | | | | | | | Move other various macros to pymcacro.h Thanks Rusty Russell for having written these amazing C macros! | |||||
* | | Move code related to compile from Python.h to compile.h | Victor Stinner | 2011-09-28 | 2 | -21/+12 | |
| | | ||||||
* | | Use the new Py_ARRAY_LENGTH macro | Victor Stinner | 2011-09-28 | 15 | -28/+26 | |
| | | ||||||
* | | Fix 'c' format of PyUnicode_Format() | Victor Stinner | 2011-09-28 | 1 | -1/+1 | |
| | | | | | | | | formatbuf is now an array of Py_UCS4, not of Py_UNICODE | |||||
* | | Oops, fix my previous commit: unicode => to | Victor Stinner | 2011-09-28 | 1 | -2/+2 | |
| | | ||||||
* | | PyUnicode_CopyCharacters() marks the string as dirty (reset the hash) | Victor Stinner | 2011-09-28 | 1 | -1/+5 | |
| | | ||||||
* | | PyUnicode_CopyCharacters() fails if 'to' has more than 1 reference | Victor Stinner | 2011-09-28 | 2 | -1/+10 | |
| | | ||||||
* | | Fix whitespace. | Ezio Melotti | 2011-09-28 | 1 | -1/+1 | |
| | | ||||||
* | | Clean up a few tabs that went in with PEP393. | Ezio Melotti | 2011-09-28 | 6 | -204/+204 | |
| | | ||||||
* | | #13054: sys.maxunicode is now always 0x10FFFF. | Ezio Melotti | 2011-09-28 | 5 | -6/+23 | |
| | | ||||||
* | | Check size of wchar_t using the preprocessor | Victor Stinner | 2011-09-28 | 1 | -29/+27 | |
| | | ||||||
* | | PyUnicode_CopyCharacters() initializes overflow | Victor Stinner | 2011-09-28 | 1 | -0/+1 | |
| | | ||||||
* | | Mark PyUnicode_FromUCS[124] as private | Victor Stinner | 2011-09-28 | 4 | -13/+13 | |
| | | ||||||
* | | Oops, fix Py_MIN/Py_MAX case | Victor Stinner | 2011-09-28 | 1 | -2/+2 | |
| | | ||||||
* | | Mark _PyUnicode_FindMaxCharAndNumSurrogatePairs() as private | Victor Stinner | 2011-09-28 | 2 | -19/+10 | |
| | | ||||||
* | | fill_number() and format_string_internal() check for ↵ | Victor Stinner | 2011-09-28 | 1 | -3/+8 | |
| | | | | | | | | PyUnicode_CopyCharacters() failure | |||||
* | | fill_number() ensures that the 'digits' string is ready | Victor Stinner | 2011-09-28 | 1 | -1/+4 | |
| | | ||||||
* | | fill_char() can now propagate an error | Victor Stinner | 2011-09-28 | 1 | -25/+47 | |
| | | ||||||
* | | Strip trailing spaces in unicodeobject.[ch] | Victor Stinner | 2011-09-28 | 2 | -15/+15 | |
| | | ||||||
* | | Check for PyUnicode_CopyCharacters() failure | Victor Stinner | 2011-09-28 | 2 | -43/+87 | |
| | | ||||||
* | | PyUnicode_CopyCharacters() checks for buffer and character overflow | Victor Stinner | 2011-09-28 | 2 | -85/+92 | |
| | | | | | | | | It now returns the number of written characters on success. | |||||
* | | Mark PyUnicode_CONVERT_BYTES as private | Victor Stinner | 2011-09-28 | 2 | -25/+25 | |
| | | ||||||
* | | Add versionadded directive to new API function. | Georg Brandl | 2011-09-28 | 1 | -0/+2 | |
| | | ||||||
* | | Rename new macros to conform to naming rules (function macros have "Py" ↵ | Georg Brandl | 2011-09-28 | 5 | -20/+20 | |
| | | | | | | | | prefix, not "PY"). | |||||
* | | Set Py_UNICODE_REPLACEMENT_CHARACTER type to Py_UCS4, instead of Py_UNICODE | Victor Stinner | 2011-09-28 | 1 | -1/+1 | |
| | |