Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #5765: Merge from 3.3 | Nick Coghlan | 2012-11-04 | 1 | -0/+2 |
|\ | |||||
| * | Issue #5765: Apply a hard recursion limit in the compiler | Nick Coghlan | 2012-11-04 | 1 | -0/+2 |
| | | | | | | | | | | | | | | Previously, excessive nesting in expressions would blow the stack and segfault the interpreter. Now, a hard limit based on the configured recursion limit and a hardcoded scaling factor is applied. | ||||
* | | point errors related to nonlocals and globals to the statement declaring ↵ | Benjamin Peterson | 2012-11-01 | 1 | -0/+1 |
| | | | | | | | | them (closes #10189) | ||||
* | | make PyGrammar_LabelRepr return a const char * (closes #16369) | Benjamin Peterson | 2012-10-31 | 1 | -1/+1 |
| | | |||||
* | | Issue #16086: PyTypeObject.tp_flags and PyType_Spec.flags are now unsigned | Victor Stinner | 2012-10-30 | 1 | -21/+21 |
| | | | | | | | | | | | | ... (unsigned long and unsigned int) to avoid an undefined behaviour with Py_TPFLAGS_TYPE_SUBCLASS ((1 << 31). PyType_GetFlags() result type is now unsigned too (unsigned long, instead of long). | ||||
* | | Issue #16330: Use surrogate-related macros | Victor Stinner | 2012-10-30 | 1 | -3/+3 |
| | | | | | | | | Patch written by Serhiy Storchaka. | ||||
* | | Minor typo fix. | Georg Brandl | 2012-10-28 | 1 | -1/+1 |
| | | |||||
* | | make _PyParser_TokenNames const | Benjamin Peterson | 2012-10-24 | 1 | -1/+1 |
| | | |||||
* | | Issue #16166: Add PY_LITTLE_ENDIAN and PY_BIG_ENDIAN macros and unified | Christian Heimes | 2012-10-17 | 1 | -0/+14 |
| | | | | | | | | endianess detection and handling. | ||||
* | | Issue #16148: Small improvements and cleanup. Added version information | Armin Ronacher | 2012-10-07 | 1 | -1/+3 |
| | | | | | | | | to docs. | ||||
* | | Issue #16147: Rewrite PyUnicode_FromFormatV() to use _PyUnicodeWriter API | Victor Stinner | 2012-10-06 | 1 | -1/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Simplify the code: replace 4 steps with one unique step using the _PyUnicodeWriter API. PyUnicode_Format() has the same design. It avoids to store intermediate results which require to allocate an array of pointers on the heap. * Use the _PyUnicodeWriter API for speed (and its convinient API): overallocate the buffer to reduce the number of "realloc()" * Implement "width" and "precision" in Python, don't rely on sprintf(). It avoids to need of a temporary buffer allocated on the heap: only use a small buffer allocated in the stack. * Add _PyUnicodeWriter_WriteCstr() function * Split PyUnicode_FromFormatV() into two functions: add unicode_fromformat_arg(). * Inline parse_format_flags(): the format of an argument is now only parsed once, it's no more needed to have a subfunction. * Optimize PyUnicode_FromFormatV() for characters between two "%" arguments: search the next "%" and copy the substring in one chunk, instead of copying character per character. | ||||
* | | Issue #16148: implemented PEP 424 | Armin Ronacher | 2012-10-06 | 1 | -3/+2 |
| | | |||||
* | | #16127: merge with 3.3. | Ezio Melotti | 2012-10-05 | 1 | -2/+1 |
|\ \ | |/ | |||||
| * | #16127: remove outdated references to narrow builds. Patch by Serhiy Storchaka. | Ezio Melotti | 2012-10-05 | 1 | -2/+1 |
| | | |||||
| * | merge mostly from default | Benjamin Peterson | 2012-09-29 | 4 | -11/+22 |
| |\ | |||||
| * | | Post-release update. | Georg Brandl | 2012-09-29 | 1 | -1/+1 |
| | | | |||||
* | | | #16135: Removal of OS/2 support (C code and Docs) | Jesus Cea | 2012-10-05 | 2 | -10/+1 |
| | | | |||||
* | | | Enable also ptr==ptr optimization in PyUnicode_Compare() | Victor Stinner | 2012-10-04 | 1 | -1/+2 |
| | | | | | | | | | | | | It was already implemented in PyUnicode_RichCompare() | ||||
* | | | Bump version to 3.4.0 alpha 0. | Georg Brandl | 2012-09-29 | 1 | -3/+3 |
| |/ |/| | |||||
* | | Merge with main repo default branch. | Georg Brandl | 2012-09-29 | 4 | -11/+22 |
|\ \ | |/ |/| | |||||
| * | Merge with 3.3.0 release clone. | Georg Brandl | 2012-09-24 | 1 | -2/+2 |
| |\ | |||||
| * | | GCC doesn't support typeof in strict ansi mode (e.g. -ansi or -std=c89) | Christian Heimes | 2012-09-23 | 1 | -1/+1 |
| | | | |||||
| * | | Issue #15144: Fix possible integer overflow when handling pointers as ↵ | Antoine Pitrou | 2012-09-20 | 2 | -6/+17 |
| | | | | | | | | | | | | | | | | | | integer values, by using Py_uintptr_t instead of size_t. Patch by Serhiy Storchaka. | ||||
| * | | Merge in changes from 3.3.0rc2 release clone. | Georg Brandl | 2012-09-09 | 1 | -2/+2 |
| |\ \ | |||||
| * \ \ | Issue #13992: The trashcan mechanism is now thread-safe. This eliminates | Antoine Pitrou | 2012-09-05 | 2 | -9/+21 |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sporadic crashes in multi-thread programs when several long deallocator chains ran concurrently and involved subclasses of built-in container types. Note that the trashcan functions are part of the stable ABI, therefore they have to be kept around for binary compatibility of extensions. | ||||
| | * | | | Issue #13992: The trashcan mechanism is now thread-safe. This eliminates | Antoine Pitrou | 2012-09-05 | 2 | -9/+21 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sporadic crashes in multi-thread programs when several long deallocator chains ran concurrently and involved subclasses of built-in container types. Because of this change, a couple extension modules compiled for 3.2.4 (those which use the trashcan mechanism, despite it being undocumented) will not be loadable by 3.2.3 and earlier. However, extension modules compiled for 3.2.3 and earlier will be loadable by 3.2.4. | ||||
| * | | | | Merge whitespace fix from 3.2. | Trent Nelson | 2012-08-31 | 1 | -4/+4 |
| |\ \ \ \ | | |/ / / | |||||
| | * | | | Remove trailing whitespace in order to silence warnings on HP-UX. | Trent Nelson | 2012-08-31 | 1 | -4/+4 |
| | | | | | |||||
* | | | | | Bump version to 3.3.0 final. | Georg Brandl | 2012-09-29 | 1 | -3/+3 |
| |_|_|/ |/| | | | |||||
* | | | | Post-release updates. | Georg Brandl | 2012-09-24 | 1 | -1/+1 |
| | | | | |||||
* | | | | Bump to 3.3.0rc3.v3.3.0rc3 | Georg Brandl | 2012-09-23 | 1 | -2/+2 |
| | | | | |||||
* | | | | GCC doesn't support typeof in strict ansi mode (e.g. -ansi or -std=c89) | Christian Heimes | 2012-09-23 | 1 | -1/+1 |
| |_|/ |/| | | |||||
* | | | Post-release updates for 3.3.0rc2. | Georg Brandl | 2012-09-09 | 1 | -1/+1 |
| | | | |||||
* | | | Bump to 3.3.0rc2. | Georg Brandl | 2012-09-09 | 1 | -2/+2 |
| | | | |||||
* | | | Issue #13992: The trashcan mechanism is now thread-safe. This eliminates | Antoine Pitrou | 2012-09-05 | 2 | -9/+21 |
|/ / | | | | | | | | | | | | | | | | | | | | | sporadic crashes in multi-thread programs when several long deallocator chains ran concurrently and involved subclasses of built-in container types. Because of this change, a couple extension modules compiled for 3.2.4 (those which use the trashcan mechanism, despite it being undocumented) will not be loadable by 3.2.3 and earlier. However, extension modules compiled for 3.2.3 and earlier will be loadable by 3.2.4. | ||||
* | | Post-release updates. | Georg Brandl | 2012-08-25 | 1 | -1/+1 |
| | | |||||
* | | Bump to 3.3.0rc1.v3.3.0rc1 | Georg Brandl | 2012-08-25 | 1 | -3/+3 |
| | | |||||
* | | Post-release updates. | Georg Brandl | 2012-08-12 | 1 | -1/+1 |
| | | |||||
* | | Bump to 3.3b2.v3.3.0b2 | Georg Brandl | 2012-08-11 | 1 | -2/+2 |
| | | |||||
* | | Issue #15610: The PyImport_ImportModuleEx macro now calls | Brett Cannon | 2012-08-10 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | PyImport_ImportModuleLevel() with a 'level' of 0 instead of -1 as the latter is no longer a valid value. Also added a versionchanged note for PyImport_ImportModuleLevel() just in case people don't make the connection between changes to __import__() and this C function. | ||||
* | | use char instead of int to please T_BOOL (closes #15597) | Benjamin Peterson | 2012-08-09 | 1 | -1/+1 |
| | | |||||
* | | MERGE: Closes #15512: Correct __sizeof__ support for parser | Jesus Cea | 2012-08-03 | 1 | -0/+3 |
|\ \ | |/ | |||||
| * | Closes #15512: Correct __sizeof__ support for parser | Jesus Cea | 2012-08-03 | 1 | -0/+3 |
| | | |||||
* | | Issue #12834: Fix PyBuffer_ToContiguous() for non-contiguous arrays. | Stefan Krah | 2012-07-28 | 1 | -2/+3 |
| | | |||||
* | | Bump version to 3.3.0b1.v3.3.0b1 | Georg Brandl | 2012-06-26 | 1 | -3/+3 |
| | | |||||
* | | Issue #11626: Add _SizeT functions to stable ABI. | Martin v. Löwis | 2012-06-23 | 1 | -1/+4 |
| | | |||||
* | | Issue #15146: Add PyType_FromSpecWithBases. Patch by Robin Schreiber. | Martin v. Löwis | 2012-06-23 | 1 | -0/+3 |
| | | |||||
* | | Issue #14785: Add sys._debugmallocstats() to help debug low-level memory ↵ | David Malcolm | 2012-06-22 | 9 | -1/+26 |
| | | | | | | | | allocation issues | ||||
* | | Issue #15042: Add PyState_AddModule and PyState_RemoveModule. | Martin v. Löwis | 2012-06-22 | 1 | -0/+5 |
| | | | | | | | | | | | | Add version guard for Py_LIMITED_API additions. Issue #15081: Document PyState_FindModule. Patch by Robin Schreiber. | ||||
* | | Issue #14928: Fix importlib bootstrap issues by using a custom executable ↵ | Antoine Pitrou | 2012-06-19 | 1 | -0/+3 |
| | | | | | | | | (Modules/_freeze_importlib) to build Python/importlib.h. |