summaryrefslogtreecommitdiffstats
path: root/Include
Commit message (Collapse)AuthorAgeFilesLines
* Issue #5765: Merge from 3.3Nick Coghlan2012-11-041-0/+2
|\
| * Issue #5765: Apply a hard recursion limit in the compilerNick Coghlan2012-11-041-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 Peterson2012-11-011-0/+1
| | | | | | | | them (closes #10189)
* | make PyGrammar_LabelRepr return a const char * (closes #16369)Benjamin Peterson2012-10-311-1/+1
| |
* | Issue #16086: PyTypeObject.tp_flags and PyType_Spec.flags are now unsignedVictor Stinner2012-10-301-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 macrosVictor Stinner2012-10-301-3/+3
| | | | | | | | Patch written by Serhiy Storchaka.
* | Minor typo fix.Georg Brandl2012-10-281-1/+1
| |
* | make _PyParser_TokenNames constBenjamin Peterson2012-10-241-1/+1
| |
* | Issue #16166: Add PY_LITTLE_ENDIAN and PY_BIG_ENDIAN macros and unifiedChristian Heimes2012-10-171-0/+14
| | | | | | | | endianess detection and handling.
* | Issue #16148: Small improvements and cleanup. Added version informationArmin Ronacher2012-10-071-1/+3
| | | | | | | | to docs.
* | Issue #16147: Rewrite PyUnicode_FromFormatV() to use _PyUnicodeWriter APIVictor Stinner2012-10-061-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 424Armin Ronacher2012-10-061-3/+2
| |
* | #16127: merge with 3.3.Ezio Melotti2012-10-051-2/+1
|\ \ | |/
| * #16127: remove outdated references to narrow builds. Patch by Serhiy Storchaka.Ezio Melotti2012-10-051-2/+1
| |
| * merge mostly from defaultBenjamin Peterson2012-09-294-11/+22
| |\
| * | Post-release update.Georg Brandl2012-09-291-1/+1
| | |
* | | #16135: Removal of OS/2 support (C code and Docs)Jesus Cea2012-10-052-10/+1
| | |
* | | Enable also ptr==ptr optimization in PyUnicode_Compare()Victor Stinner2012-10-041-1/+2
| | | | | | | | | | | | It was already implemented in PyUnicode_RichCompare()
* | | Bump version to 3.4.0 alpha 0.Georg Brandl2012-09-291-3/+3
| |/ |/|
* | Merge with main repo default branch.Georg Brandl2012-09-294-11/+22
|\ \ | |/ |/|
| * Merge with 3.3.0 release clone.Georg Brandl2012-09-241-2/+2
| |\
| * | GCC doesn't support typeof in strict ansi mode (e.g. -ansi or -std=c89)Christian Heimes2012-09-231-1/+1
| | |
| * | Issue #15144: Fix possible integer overflow when handling pointers as ↵Antoine Pitrou2012-09-202-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 Brandl2012-09-091-2/+2
| |\ \
| * \ \ Issue #13992: The trashcan mechanism is now thread-safe. This eliminatesAntoine Pitrou2012-09-052-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 eliminatesAntoine Pitrou2012-09-052-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 Nelson2012-08-311-4/+4
| |\ \ \ \ | | |/ / /
| | * | | Remove trailing whitespace in order to silence warnings on HP-UX.Trent Nelson2012-08-311-4/+4
| | | | |
* | | | | Bump version to 3.3.0 final.Georg Brandl2012-09-291-3/+3
| |_|_|/ |/| | |
* | | | Post-release updates.Georg Brandl2012-09-241-1/+1
| | | |
* | | | Bump to 3.3.0rc3.v3.3.0rc3Georg Brandl2012-09-231-2/+2
| | | |
* | | | GCC doesn't support typeof in strict ansi mode (e.g. -ansi or -std=c89)Christian Heimes2012-09-231-1/+1
| |_|/ |/| |
* | | Post-release updates for 3.3.0rc2.Georg Brandl2012-09-091-1/+1
| | |
* | | Bump to 3.3.0rc2.Georg Brandl2012-09-091-2/+2
| | |
* | | Issue #13992: The trashcan mechanism is now thread-safe. This eliminatesAntoine Pitrou2012-09-052-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 Brandl2012-08-251-1/+1
| |
* | Bump to 3.3.0rc1.v3.3.0rc1Georg Brandl2012-08-251-3/+3
| |
* | Post-release updates.Georg Brandl2012-08-121-1/+1
| |
* | Bump to 3.3b2.v3.3.0b2Georg Brandl2012-08-111-2/+2
| |
* | Issue #15610: The PyImport_ImportModuleEx macro now callsBrett Cannon2012-08-101-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 Peterson2012-08-091-1/+1
| |
* | MERGE: Closes #15512: Correct __sizeof__ support for parserJesus Cea2012-08-031-0/+3
|\ \ | |/
| * Closes #15512: Correct __sizeof__ support for parserJesus Cea2012-08-031-0/+3
| |
* | Issue #12834: Fix PyBuffer_ToContiguous() for non-contiguous arrays.Stefan Krah2012-07-281-2/+3
| |
* | Bump version to 3.3.0b1.v3.3.0b1Georg Brandl2012-06-261-3/+3
| |
* | Issue #11626: Add _SizeT functions to stable ABI.Martin v. Löwis2012-06-231-1/+4
| |
* | Issue #15146: Add PyType_FromSpecWithBases. Patch by Robin Schreiber.Martin v. Löwis2012-06-231-0/+3
| |
* | Issue #14785: Add sys._debugmallocstats() to help debug low-level memory ↵David Malcolm2012-06-229-1/+26
| | | | | | | | allocation issues
* | Issue #15042: Add PyState_AddModule and PyState_RemoveModule.Martin v. Löwis2012-06-221-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 Pitrou2012-06-191-0/+3
| | | | | | | | (Modules/_freeze_importlib) to build Python/importlib.h.