Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Py_UNICODE_HIGH_SURROGATE() and Py_UNICODE_LOW_SURROGATE() macros | Victor Stinner | 2011-11-29 | 1 | -0/+4 |
| | | | | And use surrogates macros everywhere in unicodeobject.c | ||||
* | MERGE: Closes issue #13488: Some old preprocessors have problem with #define ↵ | Jesus Cea | 2011-11-27 | 1 | -80/+80 |
|\ | | | | | | | not in the first column | ||||
| * | Closes issue #13488: Some old preprocessors have problem with #define not in ↵ | Jesus Cea | 2011-11-27 | 1 | -80/+80 |
| | | | | | | | | the first column | ||||
* | | Issue #12567: The curses module uses Unicode functions for Unicode arguments | Victor Stinner | 2011-11-25 | 1 | -0/+1 |
| | | | | | | | | | | when it is linked to the ncurses library. It encodes also Unicode strings to the locale encoding instead of UTF-8. | ||||
* | | PEP 3155 / issue #13448: Qualified name for classes and functions. | Antoine Pitrou | 2011-11-25 | 2 | -1/+3 |
| | | |||||
* | | Issue #12328: Under Windows, refactor handling of Ctrl-C events and | Antoine Pitrou | 2011-11-21 | 1 | -0/+6 |
| | | | | | | | | | | make _multiprocessing.win32.WaitForMultipleObjects interruptible when the wait_flag parameter is false. Patch by sbt. | ||||
* | | Issue #13411: memoryview objects are now hashable when the underlying object ↵ | Antoine Pitrou | 2011-11-21 | 2 | -0/+2 |
| | | | | | | | | is hashable. | ||||
* | | PyUnicode_GET_SIZE() checks that PyUnicode_AsUnicode() succeed | Victor Stinner | 2011-11-21 | 1 | -6/+7 |
| | | | | | | | | using an assertion | ||||
* | | _PyUnicode_CheckConsistency() also checks maxchar maximum value, | Victor Stinner | 2011-11-20 | 1 | -5/+8 |
| | | | | | | | | not only its minimum value | ||||
* | | Fix PyUnicode_CopyCharacters() doc | Victor Stinner | 2011-11-20 | 1 | -2/+1 |
| | | |||||
* | | Ensure that Py_UCS4 is 32 bits and Py_UCS2 is 16 bits | Victor Stinner | 2011-11-20 | 1 | -2/+7 |
| | | |||||
* | | Merge branch 3.2 (closes #13338) | Petri Lehtinen | 2011-11-19 | 1 | -2/+4 |
|\ \ | |/ | |||||
| * | Issue #13338: Handle all enumerations in _Py_ANNOTATE_MEMORY_ORDER | Petri Lehtinen | 2011-11-19 | 1 | -2/+4 |
| | | | | | | | | | | This allows compiling extension modules with -Wswitch-enum on gcc. Initial patch by Floris Bruynooghe. | ||||
* | | Issue #10227: Add an allocation cache for a single slice object. | Antoine Pitrou | 2011-11-18 | 1 | -0/+1 |
| | | | | | | | | Patch by Stefan Behnel. | ||||
* | | Fix misused of "PyUnicodeObject" structure name in unicodeobject.h | Victor Stinner | 2011-11-16 | 1 | -2/+2 |
| | | |||||
* | | Issue #13389: Full garbage collection passes now clear the freelists for | Antoine Pitrou | 2011-11-14 | 2 | -0/+4 |
| | | | | | | | | | | list and dict objects. They already cleared other freelists in the interpreter. | ||||
* | | Port encoders from Py_UNICODE API to unicode object API. | Martin v. Löwis | 2011-11-10 | 1 | -0/+16 |
| | | |||||
* | | Make _PyUnicode_FromId return borrowed references. | Martin v. Löwis | 2011-11-07 | 1 | -1/+1 |
| | | | | | | | | http://mail.python.org/pipermail/python-dev/2011-November/114347.html | ||||
* | | Fix gdb/libpython.py for not ready Unicode strings | Victor Stinner | 2011-11-04 | 1 | -3/+5 |
| | | | | | | | | | | _PyUnicode_CheckConsistency() checks also hash and length value for not ready Unicode strings. | ||||
* | | Replace PyUnicodeObject type by PyObject | Victor Stinner | 2011-11-03 | 1 | -2/+1 |
| | | | | | | | | | | * _PyUnicode_CheckConsistency() now takes a PyObject* instead of void* * Remove now useless casts to PyObject* | ||||
* | | Port UCS1 and charmap codecs to new API. | Martin v. Löwis | 2011-11-02 | 1 | -0/+6 |
| | | |||||
* | | Drop Py_UCS4_ functions. Closes #13246. | Martin v. Löwis | 2011-10-31 | 1 | -37/+0 |
| | | |||||
* | | Replace PyUnicodeObject* by PyObject* where it was irrevelant | Victor Stinner | 2011-10-23 | 1 | -1/+1 |
| | | | | | | | | | | | | A Unicode string can now be a PyASCIIObject, PyCompactUnicodeObject or PyUnicodeObject. Aliasing a PyASCIIObject* or PyCompactUnicodeObject* to PyUnicodeObject* is wrong | ||||
* | | Merge issue 1294232 patch from 3.2 | Nick Coghlan | 2011-10-23 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | Issue 1294232: Fix errors in metaclass calculation affecting some cases of ↵ | Nick Coghlan | 2011-10-23 | 1 | -0/+1 |
| | | | | | | | | metaclass inheritance. Patch by Daniel Urban. | ||||
* | | #12753: Add support for Unicode name aliases and named sequences. | Ezio Melotti | 2011-10-21 | 1 | -2/+4 |
| | | |||||
* | | Simplify _PyUnicode_COMPACT_DATA() macro | Victor Stinner | 2011-10-18 | 1 | -1/+1 |
| | | |||||
* | | Issue #12281: Rewrite the MBCS codec to handle correctly replace and ignore | Victor Stinner | 2011-10-18 | 1 | -1/+15 |
| | | | | | | | | | | error handlers on all Windows versions. The MBCS codec is now supporting all error handlers, instead of only replace to encode and ignore to decode. | ||||
* | | Fix build under Windows | Antoine Pitrou | 2011-10-15 | 1 | -1/+1 |
| | | |||||
* | | Rename _Py_identifier to _Py_IDENTIFIER. | Martin v. Löwis | 2011-10-14 | 1 | -2/+2 |
| | | |||||
* | | Issue #13088: Add shared Py_hexdigits constant to format a number into base 16 | Victor Stinner | 2011-10-14 | 1 | -0/+2 |
| | | |||||
* | | Simplify PyUnicode_MAX_CHAR_VALUE | Victor Stinner | 2011-10-12 | 1 | -6/+5 |
| | | | | | | | | | | | | | | Use PyUnicode_IS_ASCII instead of PyUnicode_IS_COMPACT_ASCII, so the following test can be removed: PyUnicode_DATA(op) == (((PyCompactUnicodeObject *)(op))->utf8) | ||||
* | | PEP 3151 / issue #12555: reworking the OS and IO exception hierarchy. | Antoine Pitrou | 2011-10-12 | 1 | -12/+30 |
| | | |||||
* | | any_find_slice() doesn't use callbacks anymore | Victor Stinner | 2011-10-10 | 1 | -3/+0 |
| | | | | | | | | | | * Call directly the right find/rfind method: allow inlining functions * Remove Py_LOCAL_CALLBACK (added for any_find_slice) | ||||
* | | Drop extra semicolon. | Martin v. Löwis | 2011-10-09 | 1 | -1/+1 |
| | | |||||
* | | Add API for static strings, primarily good for identifiers. | Martin v. Löwis | 2011-10-09 | 3 | -0/+50 |
| | | | | | | | | Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing. | ||||
* | | Change PyUnicode_KIND to 1,2,4. Drop _KIND_SIZE and _CHARACTER_SIZE. | Martin v. Löwis | 2011-10-07 | 1 | -25/+10 |
| | | |||||
* | | Update C API docs for PEP 393. | Georg Brandl | 2011-10-07 | 1 | -1/+1 |
| | | |||||
* | | Issue #12911: Fix memory consumption when calculating the repr() of huge ↵ | Antoine Pitrou | 2011-10-06 | 2 | -1/+36 |
|\ \ | |/ | | | | | | | | | | | tuples or lists. This introduces a small private API for this common pattern. The issue has been discovered thanks to Martin's huge-mem buildbot. | ||||
| * | Issue #12911: Fix memory consumption when calculating the repr() of huge ↵ | Antoine Pitrou | 2011-10-06 | 2 | -2/+37 |
| | | | | | | | | | | | | | | tuples or lists. This introduces a small private API for this common pattern. The issue has been discovered thanks to Martin's huge-mem buildbot. | ||||
* | | Fix PyUnicode_CHARACTER_SIZE and PyUnicode_KIND_SIZE | Victor Stinner | 2011-10-06 | 1 | -2/+2 |
| | | |||||
* | | Fix compilation warnings under 64-bit Windows | Antoine Pitrou | 2011-10-06 | 1 | -2/+3 |
| | | |||||
* | | Branch merge | Éric Araujo | 2011-10-06 | 1 | -1/+1 |
|\ \ | |||||
| * | | Fix typo | Éric Araujo | 2011-10-04 | 1 | -1/+1 |
| | | | |||||
* | | | rephrase PyUnicode_1BYTE_KIND documentation | Victor Stinner | 2011-10-05 | 1 | -6/+7 |
| | | | |||||
* | | | Don't check for the maximum character when copying from unicodeobject.c | Victor Stinner | 2011-10-05 | 1 | -0/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | * Create copy_characters() function which doesn't check for the maximum character in release mode * _PyUnicode_CheckConsistency() is no more static to be able to use it in _PyUnicode_FormatAdvanced() (in formatter_unicode.c) * _PyUnicode_CheckConsistency() checks the string hash | ||||
* | | | Add asciilib: similar to ucs1, ucs2 and ucs4 library, but specialized to ASCII | Victor Stinner | 2011-10-05 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | ucs1, ucs2 and ucs4 libraries have to scan created substring to find the maximum character, whereas it is not need to ASCII strings. Because ASCII strings are common, it is useful to optimize ASCII. | ||||
* | | | Document requierements of Unicode kinds | Victor Stinner | 2011-10-04 | 1 | -4/+20 |
| | | | |||||
* | | | More fixes. | Georg Brandl | 2011-10-05 | 1 | -2/+2 |
| | | | |||||
* | | | Fix a few typos in the unicode header. | Georg Brandl | 2011-10-05 | 1 | -11/+11 |
| | | |