Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use Py_UCS1 instead of unsigned char in unicodeobject.h | Victor Stinner | 2011-10-01 | 1 | -2/+2 |
| | |||||
* | PyUnicode_WriteChar() raises IndexError on invalid index | Victor Stinner | 2011-10-01 | 1 | -1/+3 |
| | | | | | PyUnicode_WriteChar() raises also a ValueError if the string has more than 1 reference. | ||||
* | _PyUnicode_AsKind() is *not* part of the stable ABI | Victor Stinner | 2011-10-01 | 1 | -0/+2 |
| | |||||
* | PyUnicode_CHARACTER_SIZE(): add a reference to PyUnicode_KIND_SIZE() | Victor Stinner | 2011-10-01 | 1 | -2/+5 |
| | |||||
* | Add PyUnicode_Copy() function, include it to the public API | Victor Stinner | 2011-09-30 | 1 | -0/+5 |
| | |||||
* | _PyUnicode_Ready() cannot be used on ready strings anymore | Victor Stinner | 2011-09-29 | 1 | -7/+9 |
| | | | | | | * 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 | 1 | -10/+0 |
| | | | | Move these macros to unicodeobject.c | ||||
* | Add a note in PyUnicode_CopyCharacters() doc: it doesn't write null character | Victor Stinner | 2011-09-29 | 1 | -3/+5 |
| | | | | Cleanup also the code (avoid the goto). | ||||
* | 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 |
| | |||||
* | Enhance Py_ARRAY_LENGTH(): fail at build time if the argument is not an array | Victor Stinner | 2011-09-28 | 2 | -18/+58 |
| | | | | | | 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 |
| | |||||
* | PyUnicode_CopyCharacters() fails if 'to' has more than 1 reference | Victor Stinner | 2011-09-28 | 1 | -1/+2 |
| | |||||
* | Clean up a few tabs that went in with PEP393. | Ezio Melotti | 2011-09-28 | 3 | -18/+18 |
| | |||||
* | Mark _PyUnicode_FindMaxCharAndNumSurrogatePairs() as private | Victor Stinner | 2011-09-28 | 1 | -12/+0 |
| | |||||
* | Strip trailing spaces in unicodeobject.[ch] | Victor Stinner | 2011-09-28 | 1 | -5/+5 |
| | |||||
* | PyUnicode_CopyCharacters() checks for buffer and character overflow | Victor Stinner | 2011-09-28 | 1 | -3/+15 |
| | | | | It now returns the number of written characters on success. | ||||
* | Mark PyUnicode_CONVERT_BYTES as private | Victor Stinner | 2011-09-28 | 1 | -15/+0 |
| | |||||
* | Rename new macros to conform to naming rules (function macros have "Py" ↵ | Georg Brandl | 2011-09-28 | 1 | -3/+3 |
| | | | | prefix, not "PY"). | ||||
* | Set Py_UNICODE_REPLACEMENT_CHARACTER type to Py_UCS4, instead of Py_UNICODE | Victor Stinner | 2011-09-28 | 1 | -1/+1 |
| | |||||
* | Implement PEP 393. | Martin v. Löwis | 2011-09-28 | 7 | -270/+543 |
| | |||||
* | Fix typo in comment: _PyHash_Double -> _Py_HashDouble. | Mark Dickinson | 2011-09-24 | 1 | -1/+1 |
| | |||||
* | Merge 3.2: Fix PyUnicode_AsWideCharString() doc | Victor Stinner | 2011-09-06 | 1 | -1/+1 |
|\ | | | | | | | | | | | - Fix PyUnicode_AsWideCharString() doc: size doesn't contain the null character - Fix spelling of the null character | ||||
| * | Fix PyUnicode_AsWideCharString() doc: size doesn't contain the null character | Victor Stinner | 2011-09-06 | 1 | -1/+1 |
| | | | | | | | | Fix also spelling of the null character. | ||||
| * | Post-release version bump. | Georg Brandl | 2011-09-04 | 1 | -1/+1 |
| | | |||||
| * | Merge with release clone. | Georg Brandl | 2011-09-04 | 1 | -2/+2 |
| |\ | |||||
| | * | Bump to 3.2.2. | Georg Brandl | 2011-09-03 | 1 | -3/+3 |
| | | | |||||
| | * | Post-release steps. | Georg Brandl | 2011-08-13 | 1 | -1/+1 |
| | | | |||||
| | * | Bump version to 3.2.2rc1. | Georg Brandl | 2011-08-13 | 1 | -4/+4 |
| | | | |||||
* | | | merge 3.2 | Benjamin Peterson | 2011-09-01 | 1 | -0/+1 |
|\ \ \ | |/ / | |||||
| * | | make sure to initialize the method wrapper type | Benjamin Peterson | 2011-09-01 | 1 | -0/+1 |
| | | | |||||
* | | | Issue #12287: Fix a stack corruption in ossaudiodev module when the FD is | Charles-François Natali | 2011-08-28 | 1 | -0/+7 |
|\ \ \ | |/ / | | | | | | | greater than FD_SETSIZE. | ||||
| * | | Issue #12287: Fix a stack corruption in ossaudiodev module when the FD is | Charles-François Natali | 2011-08-28 | 1 | -0/+7 |
| |/ | | | | | | | greater than FD_SETSIZE. | ||||
* | | #10542: Add 4 macros to work with surrogates: Py_UNICODE_IS_SURROGATE, ↵ | Ezio Melotti | 2011-08-22 | 1 | -0/+9 |
| | | | | | | | | Py_UNICODE_IS_HIGH_SURROGATE, Py_UNICODE_IS_LOW_SURROGATE, Py_UNICODE_JOIN_SURROGATES. | ||||
* | | Add Py_RETURN_NOTIMPLEMENTED macro. Fixes #12724. | Brian Curtin | 2011-08-11 | 1 | -0/+4 |
| | | |||||
* | | add a AST validator (closes #12575) | Benjamin Peterson | 2011-08-09 | 1 | -0/+1 |
| | | |||||
* | | forgotten in f578ca44193d | Benjamin Peterson | 2011-08-09 | 1 | -2/+2 |
| | | |||||
* | | add a asdl bytes type, so Bytes.s be properly typechecked | Benjamin Peterson | 2011-08-09 | 1 | -0/+1 |
| | | |||||
* | | #10741: merge with 3.2 | Sandro Tosi | 2011-08-07 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | #10741: add documentation for PyGILState_GetThisThreadState() | Sandro Tosi | 2011-08-07 | 1 | -1/+1 |
| | | |||||
| * | Post-release steps for 3.2.1. | Georg Brandl | 2011-07-09 | 1 | -1/+1 |
| | | |||||
| * | Bump version to 3.2.1.v3.2.1 | Georg Brandl | 2011-07-09 | 1 | -3/+3 |
| | | |||||
| * | Post-release steps. | Georg Brandl | 2011-07-04 | 1 | -1/+1 |
| | | |||||
| * | Bump to 3.2.1rc2. | Georg Brandl | 2011-07-03 | 1 | -2/+2 |
| | | |||||
| * | Set up branch to be rc2 next. | Georg Brandl | 2011-05-21 | 1 | -1/+1 |
| | | |||||
| * | Bump to 3.2.1rc1.v3.2.1rc1 | Georg Brandl | 2011-05-15 | 1 | -2/+2 |
| | | |||||
| * | Bump to 3.2.1b1. | Georg Brandl | 2011-05-08 | 1 | -4/+4 |
| | | |||||
* | | excise the remains of STOP_CODE, which hasn't done anything useful for years | Benjamin Peterson | 2011-07-18 | 1 | -1/+0 |
| | | |||||
* | | Issue #11863: Remove support for legacy systems deprecated in Python 3.2 | Antoine Pitrou | 2011-07-08 | 1 | -5/+0 |
| | | | | | | | | | | (following PEP 11). These systems are systems using Mach C Threads, SunOS lightweight processes, GNU pth threads and IRIX threads. | ||||
* | | add patchlevel to version string | Benjamin Peterson | 2011-07-08 | 1 | -1/+1 |
| | |