Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | _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 |
| | |||||
* | merge heads | Benjamin Peterson | 2011-09-28 | 16 | -39/+39 |
|\ | |||||
| * | #13012: use splitlines(keepends=True/False) instead of splitlines(0/1). | Ezio Melotti | 2011-09-28 | 16 | -39/+39 |
| | | |||||
* | | this isn't fixed on windows yet... | Benjamin Peterson | 2011-09-28 | 1 | -1/+4 |
|/ | |||||
* | this test works as expected now | Benjamin Peterson | 2011-09-28 | 1 | -6/+1 |
| | |||||
* | revert unintended change | Benjamin Peterson | 2011-09-28 | 1 | -1/+4 |
| | |||||
* | don't check that the first character is XID_Continue | Benjamin Peterson | 2011-09-28 | 2 | -5/+2 |
| | | | | Current, XID_Continue is a superset of XID_Start, but that may sometime change. | ||||
* | test_ctypes: Windows is no more a special case | Victor Stinner | 2011-09-28 | 1 | -6/+3 |
| | |||||
* | Fix struct sizes. Drop -1, since the resulting string was actually the ↵ | Martin v. Löwis | 2011-09-28 | 1 | -6/+7 |
| | | | | | | largest one that could be allocated. | ||||
* | Use compile() instead of eval(). | Martin v. Löwis | 2011-09-28 | 1 | -6/+4 |
| | |||||
* | Use eval instead of codecs.lookup to trigger UTF-8 generation. | Martin v. Löwis | 2011-09-28 | 1 | -6/+4 |
| | |||||
* | ACKS for PEP 393. | Martin v. Löwis | 2011-09-28 | 1 | -1/+2 |
| | |||||
* | Update for PEP 393. | Martin v. Löwis | 2011-09-28 | 1 | -12/+25 |
| | |||||
* | Implement PEP 393. | Martin v. Löwis | 2011-09-28 | 102 | -5392/+8114 |
| | |||||
* | Issue #13013: ctypes: Fix a reference leak in PyCArrayType_from_ctype. | Meador Inge | 2011-09-28 | 3 | -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 Inge | 2011-09-28 | 3 | -0/+5 |
| | | | | | | | | Thanks to Suman Saha for finding the bug and providing a patch. | ||||
* | | Fix markup. | Georg Brandl | 2011-09-27 | 1 | -2/+2 |
| | | |||||
* | | merged | Martin v. Löwis | 2011-09-25 | 1 | -0/+3 |
|\ \ | |/ | |||||
| * | Depend setobject.o and dictobject.o on stringlib/eq.h. | Martin v. Löwis | 2011-09-25 | 1 | -0/+3 |
| | | |||||
* | | Issue #1621: Fix undefined behaviour from signed overflow in datetime module ↵ | Mark Dickinson | 2011-09-25 | 4 | -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 Dickinson | 2011-09-25 | 1 | -1/+2 |
| | | | | | | | | computing 1.0 / 0.0. |