summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | raw_unicode_escape() uses the new Unicode APIVictor Stinner2011-09-291-46/+21
| |
* | Strip trailing spaces of _pickle.cVictor Stinner2011-09-291-17/+17
| |
* | PyLocale_strxfrm() uses the new Unicode APIVictor Stinner2011-09-291-24/+15
| |
* | fileio_init() checks for failure on conversion to Py_UNICODE*Victor Stinner2011-09-291-4/+6
| |
* | Fix test_codeccallbacks for Windows: check size of wchar_t, not sys.maxunicodeVictor Stinner2011-09-291-4/+6
| |
* | Fix test_codecs for Windows: check size of wchar_t, not sys.maxunicodeVictor Stinner2011-09-291-41/+44
| |
* | Merge.Charles-François Natali2011-09-292-40/+32
|\ \
| * | _PyUnicode_Ready() cannot be used on ready strings anymoreVictor Stinner2011-09-292-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.hVictor Stinner2011-09-292-10/+8
| | | | | | | | | | | | Move these macros to unicodeobject.c
* | | Issue #13058: ossaudiodev: fix a file descriptor leak on error. Patch by ThomasCharles-François Natali2011-09-293-0/+5
|\ \ \ | |/ / |/| / | |/ Jarosch.
| * Issue #13058: ossaudiodev: fix a file descriptor leak on error. Patch by ThomasCharles-François Natali2011-09-293-0/+5
| | | | | | | | Jarosch.
* | Add a note in PyUnicode_CopyCharacters() doc: it doesn't write null characterVictor Stinner2011-09-292-44/+47
| | | | | | | | Cleanup also the code (avoid the goto).
* | Re-enable test.Martin v. Löwis2011-09-291-4/+1
| |
* | Port normalization to new API.Martin v. Löwis2011-09-291-71/+119
| |
* | Rename Py_BUILD_ASSERT to Py_BUILD_ASSERT_EXPRVictor Stinner2011-09-291-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 Stinner2011-09-291-13/+12
| |
* | Merge heads.Ezio Melotti2011-09-291-21/+42
|\ \
| * | Update and reorganize the whatsnew entry for PEP 393.Ezio Melotti2011-09-291-21/+42
| | |
* | | Fix hex_digit_to_int() prototype: expect Py_UCS4, not Py_UNICODEVictor Stinner2011-09-292-4/+4
| | |
* | | modsupport.c reuses Py_UNICODE_strlen()Victor Stinner2011-09-291-10/+1
| | |
* | | _io.textio: fix character type, use Py_UCS4 instead of Py_UNICODEVictor Stinner2011-09-291-3/+3
| | |
* | | _sre: don't use Py_UNICODE anymoreVictor Stinner2011-09-291-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 Melotti2011-09-291-15/+0
| | | | | | | | test_multibytecodec_support.py.
* | Complete What's New in 3.3 about PEP 393Victor Stinner2011-09-291-0/+28
| |
* | Move UCS4-specific tests with the "normal" tests.Ezio Melotti2011-09-291-8/+4
| |
* | Enhance Py_ARRAY_LENGTH(): fail at build time if the argument is not an arrayVictor Stinner2011-09-285-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.hVictor Stinner2011-09-282-21/+12
| |
* | Use the new Py_ARRAY_LENGTH macroVictor Stinner2011-09-2815-28/+26
| |
* | Fix 'c' format of PyUnicode_Format()Victor Stinner2011-09-281-1/+1
| | | | | | | | formatbuf is now an array of Py_UCS4, not of Py_UNICODE
* | Oops, fix my previous commit: unicode => toVictor Stinner2011-09-281-2/+2
| |
* | PyUnicode_CopyCharacters() marks the string as dirty (reset the hash)Victor Stinner2011-09-281-1/+5
| |
* | PyUnicode_CopyCharacters() fails if 'to' has more than 1 referenceVictor Stinner2011-09-282-1/+10
| |
* | Fix whitespace.Ezio Melotti2011-09-281-1/+1
| |
* | Clean up a few tabs that went in with PEP393.Ezio Melotti2011-09-286-204/+204
| |
* | #13054: sys.maxunicode is now always 0x10FFFF.Ezio Melotti2011-09-285-6/+23
| |
* | Check size of wchar_t using the preprocessorVictor Stinner2011-09-281-29/+27
| |
* | PyUnicode_CopyCharacters() initializes overflowVictor Stinner2011-09-281-0/+1
| |
* | Mark PyUnicode_FromUCS[124] as privateVictor Stinner2011-09-284-13/+13
| |
* | Oops, fix Py_MIN/Py_MAX caseVictor Stinner2011-09-281-2/+2
| |
* | Mark _PyUnicode_FindMaxCharAndNumSurrogatePairs() as privateVictor Stinner2011-09-282-19/+10
| |
* | fill_number() and format_string_internal() check for ↵Victor Stinner2011-09-281-3/+8
| | | | | | | | PyUnicode_CopyCharacters() failure
* | fill_number() ensures that the 'digits' string is readyVictor Stinner2011-09-281-1/+4
| |
* | fill_char() can now propagate an errorVictor Stinner2011-09-281-25/+47
| |
* | Strip trailing spaces in unicodeobject.[ch]Victor Stinner2011-09-282-15/+15
| |
* | Check for PyUnicode_CopyCharacters() failureVictor Stinner2011-09-282-43/+87
| |
* | PyUnicode_CopyCharacters() checks for buffer and character overflowVictor Stinner2011-09-282-85/+92
| | | | | | | | It now returns the number of written characters on success.
* | Mark PyUnicode_CONVERT_BYTES as privateVictor Stinner2011-09-282-25/+25
| |
* | Add versionadded directive to new API function.Georg Brandl2011-09-281-0/+2
| |
* | Rename new macros to conform to naming rules (function macros have "Py" ↵Georg Brandl2011-09-285-20/+20
| | | | | | | | prefix, not "PY").
* | Set Py_UNICODE_REPLACEMENT_CHARACTER type to Py_UCS4, instead of Py_UNICODEVictor Stinner2011-09-281-1/+1
| |