Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #13390: New function :func:`sys.getallocatedblocks()` returns the ↵ | Antoine Pitrou | 2012-12-09 | 1 | -0/+2 |
| | | | | | | number of memory blocks currently allocated. Also, the ``-R`` option to regrtest uses this function to guard against memory allocation leaks. | ||||
* | Issue #16602: When a weakref's target was part of a long deallocation chain, ↵ | Antoine Pitrou | 2012-12-08 | 1 | -1/+11 |
|\ | | | | | | | | | | | the object could remain reachable through its weakref even though its refcount had dropped to zero. Thanks to Eugene Toder for diagnosing and reporting the issue. | ||||
| * | Issue #16602: When a weakref's target was part of a long deallocation chain, ↵ | Antoine Pitrou | 2012-12-08 | 1 | -1/+11 |
| |\ | | | | | | | | | | | | | | | | the object could remain reachable through its weakref even though its refcount had dropped to zero. Thanks to Eugene Toder for diagnosing and reporting the issue. | ||||
| | * | Issue #16602: When a weakref's target was part of a long deallocation chain, ↵ | Antoine Pitrou | 2012-12-08 | 1 | -1/+11 |
| | | | | | | | | | | | | | | | | | | the object could remain reachable through its weakref even though its refcount had dropped to zero. Thanks to Eugene Toder for diagnosing and reporting the issue. | ||||
* | | | create NameConstant AST class for None, True, and False literals (closes #16619) | Benjamin Peterson | 2012-12-06 | 2 | -2/+11 |
| | | | |||||
* | | | Update comment: SAVE_EXC_STATE and SWAP_EXC_STATE macroses are ↵ | Andrew Svetlov | 2012-12-05 | 1 | -2/+2 |
|\ \ \ | |/ / | | | | | | | saave_exc_state and swap_exc_state functions now. | ||||
| * | | Update comment: SAVE_EXC_STATE and SWAP_EXC_STATE macroses are ↵ | Andrew Svetlov | 2012-12-05 | 1 | -2/+2 |
| | | | | | | | | | | | | saave_exc_state and swap_exc_state functions now. | ||||
| * | | Issue 10052: merge fix from 3.2. | Mark Dickinson | 2012-12-02 | 1 | -8/+21 |
| |\ \ | | |/ | |||||
| | * | Issue 10052: fix failed uint32_t / uint64_t / int32_t / int64_t detection on ↵ | Mark Dickinson | 2012-12-02 | 1 | -8/+21 |
| | | | | | | | | | | | | some platforms. | ||||
| * | | Backport 9dd4638de73b. | Stefan Krah | 2012-11-18 | 1 | -1/+1 |
| | | | |||||
* | | | Issue #16455: On FreeBSD and Solaris, if the locale is C, the | Victor Stinner | 2012-12-04 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | ASCII/surrogateescape codec is now used, instead of the locale encoding, to decode the command line arguments. This change fixes inconsistencies with os.fsencode() and os.fsdecode() because these operating systems announces an ASCII locale encoding, whereas the ISO-8859-1 encoding is used in practice. | ||||
* | | | Issue 10052: fix failed uint32_t / uint64_t / int32_t / int64_t detection on ↵ | Mark Dickinson | 2012-12-02 | 1 | -8/+21 |
| | | | | | | | | | | | | some platforms. | ||||
* | | | remove unused flag (closes #16505) | Benjamin Peterson | 2012-11-19 | 1 | -1/+0 |
| | | | |||||
* | | | Issue #6308: Try to fix the termios build failure on HP-UX. | Stefan Krah | 2012-11-18 | 1 | -1/+1 |
| | | | |||||
* | | | Issue #16451: Refactor to remove duplication between range and slice in ↵ | Mark Dickinson | 2012-11-17 | 1 | -0/+3 |
| | | | | | | | | | | | | slice index computations. | ||||
* | | | Merge 3.3. | Stefan Krah | 2012-11-12 | 1 | -0/+8 |
|\ \ \ | |/ / | |||||
| * | | Issue #15835: Define PATH_MAX on HP-UX. | Stefan Krah | 2012-11-12 | 1 | -0/+8 |
| | | | |||||
* | | | 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 |
| | | |