summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* _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
|
* merge headsBenjamin Peterson2011-09-2816-39/+39
|\
| * #13012: use splitlines(keepends=True/False) instead of splitlines(0/1).Ezio Melotti2011-09-2816-39/+39
| |
* | this isn't fixed on windows yet...Benjamin Peterson2011-09-281-1/+4
|/
* this test works as expected nowBenjamin Peterson2011-09-281-6/+1
|
* revert unintended changeBenjamin Peterson2011-09-281-1/+4
|
* don't check that the first character is XID_ContinueBenjamin Peterson2011-09-282-5/+2
| | | | Current, XID_Continue is a superset of XID_Start, but that may sometime change.
* test_ctypes: Windows is no more a special caseVictor Stinner2011-09-281-6/+3
|
* Fix struct sizes. Drop -1, since the resulting string was actually the ↵Martin v. Löwis2011-09-281-6/+7
| | | | | | largest one that could be allocated.
* Use compile() instead of eval().Martin v. Löwis2011-09-281-6/+4
|
* Use eval instead of codecs.lookup to trigger UTF-8 generation.Martin v. Löwis2011-09-281-6/+4
|
* ACKS for PEP 393.Martin v. Löwis2011-09-281-1/+2
|
* Update for PEP 393.Martin v. Löwis2011-09-281-12/+25
|
* Implement PEP 393.Martin v. Löwis2011-09-28102-5392/+8114
|
* Issue #13013: ctypes: Fix a reference leak in PyCArrayType_from_ctype.Meador Inge2011-09-283-0/+5
|\ | | | | | | Thanks to Suman Saha for finding the bug and providing a patch.
| * Issue #13013: ctypes: Fix a reference leak in PyCArrayType_from_ctype.Meador Inge2011-09-283-0/+5
| | | | | | | | Thanks to Suman Saha for finding the bug and providing a patch.
* | Fix markup.Georg Brandl2011-09-271-2/+2
| |
* | mergedMartin v. Löwis2011-09-251-0/+3
|\ \ | |/
| * Depend setobject.o and dictobject.o on stringlib/eq.h.Martin v. Löwis2011-09-251-0/+3
| |
* | Issue #1621: Fix undefined behaviour from signed overflow in datetime module ↵Mark Dickinson2011-09-254-16/+14
| | | | | | | | hashes, array and list iterations, and get_integer (stringlib/string_format.h)
* | Return +-Py_HUGE_VAL for tgamma(+-0) instead of risking FP exceptions by ↵Mark Dickinson2011-09-251-1/+2
| | | | | | | | computing 1.0 / 0.0.