summaryrefslogtreecommitdiffstats
path: root/Include
Commit message (Collapse)AuthorAgeFilesLines
* merge headsGeorg Brandl2013-10-081-3/+0
|\
| * Closes #13867: remove untrue comment about PyWeakref_Check().Georg Brandl2013-10-081-3/+0
| |
* | Fix macro expansion of _PyErr_OCCURRED(), and make sure to use it in at ↵Antoine Pitrou2013-10-071-1/+1
|/ | | | least one place so as to avoid regressions.
* Issue #18594: Fix the fast path for collections.Counter().Raymond Hettinger2013-10-011-0/+1
| | | | The path wasn't being taken due to an over-restrictive type check.
* Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka2013-08-275-11/+11
| | | | error messages and comments.
* #18466: fix more typos. Patch by Févry Thibault.Ezio Melotti2013-08-171-1/+1
|
* Issue #16741: Fix an error reporting in int().Serhiy Storchaka2013-08-031-0/+1
|
* According to the PEP 7, C code must "use 4-space indents"Victor Stinner2013-07-261-299/+299
| | | | Replace 8 spaces with 4.
* Fix test for GCC 3.1+ but not strict ANSI CChristian Heimes2013-06-241-1/+1
|
* Issue #13612: handle unknown encodings without a buffer overflow.Eli Bendersky2013-05-251-1/+3
| | | | | | | This affects pyexpat and _elementtree. PyExpat_CAPI now exposes a new function - DefaultUnknownEncodingHandler. Based on a patch by Serhiy Storchaka.
* Issue #16986: ElementTree now correctly parses a string input not only whenSerhiy Storchaka2013-05-221-0/+1
| | | | an internal XML encoding is UTF-8 or US-ASCII.
* post-release update.Georg Brandl2013-05-151-1/+1
|
* bump to 3.3.2Georg Brandl2013-05-121-2/+2
|
* Issue #17408: Avoid using an obsolete instance of the copyreg module when ↵Antoine Pitrou2013-05-041-0/+1
| | | | the interpreter is shutdown and then started again.
* Post-release update for 3.3.1Georg Brandl2013-04-061-1/+1
|
* Bump to 3.3.1.v3.3.1Georg Brandl2013-04-061-3/+3
|
* Bump to 3.3.1rc1.Georg Brandl2013-03-231-4/+4
|
* Issue #1783: Remove declarations of nonexistent private variables.Serhiy Storchaka2013-02-011-4/+0
|\
| * Issue #1783: Remove declarations of nonexistent private variables.Serhiy Storchaka2013-02-011-4/+0
| |
* | Issue #15989: Fix several occurrences of integer overflowSerhiy Storchaka2013-01-191-0/+3
|\ \ | |/ | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks. This is a backport of changesets 13e2e44db99d and 525407d89277.
| * Issue #15989: Fix several occurrences of integer overflowSerhiy Storchaka2013-01-191-0/+3
| | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks. This is a backport of changesets 13e2e44db99d and 525407d89277.
* | Issue #16881: Fix Py_ARRAY_LENGTH macro for GCC < 3.1.Christian Heimes2013-01-061-2/+5
| |
* | Fix the internals of our hash functions to used unsigned values during hashGregory P. Smith2012-12-111-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | computation as the overflow behavior of signed integers is undefined. NOTE: This change is smaller compared to 3.2 as much of this cleanup had already been done. I added the comment that my change in 3.2 added so that the code would match up. Otherwise this just adds or synchronizes appropriate UL designations on some constants to be pedantic. In practice we require compiling everything with -fwrapv which forces overflow to be defined as twos compliment but this keeps the code cleaner for checkers or in the case where someone has compiled it without -fwrapv or their compiler's equivalent. Found by Clang trunk's Undefined Behavior Sanitizer (UBSan). Cleanup only - no functionality or hash values change.
| * Fix the internals of our hash functions to used unsigned values during hashGregory P. Smith2012-12-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | computation as the overflow behavior of signed integers is undefined. In practice we require compiling everything with -fwrapv which forces overflow to be defined as twos compliment but this keeps the code cleaner for checkers or in the case where someone has compiled it without -fwrapv or their compiler's equivalent. Found by Clang trunk's Undefined Behavior Sanitizer (UBSan). Cleanup only - no functionality or hash values change.
* | Issue #16602: When a weakref's target was part of a long deallocation chain, ↵Antoine Pitrou2012-12-081-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 Pitrou2012-12-081-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.
* | Update comment: SAVE_EXC_STATE and SWAP_EXC_STATE macroses are ↵Andrew Svetlov2012-12-051-2/+2
| | | | | | | | saave_exc_state and swap_exc_state functions now.
* | Issue 10052: merge fix from 3.2.Mark Dickinson2012-12-021-8/+21
|\ \ | |/
| * Issue 10052: fix failed uint32_t / uint64_t / int32_t / int64_t detection on ↵Mark Dickinson2012-12-021-8/+21
| | | | | | | | some platforms.
* | Backport 9dd4638de73b.Stefan Krah2012-11-181-1/+1
| |
* | Issue #15835: Define PATH_MAX on HP-UX.Stefan Krah2012-11-121-0/+8
| |
* | 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.
* | #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
|\ \
| * \ 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
| | | | | |
* | | | | | Post-release update.Georg Brandl2012-09-291-1/+1
|/ / / / /
* | | | | 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
| | |