Georg Brandl
2d34f41bee
Bump to 3.3.3rc1.
12 years ago
Georg Brandl
b296d09624
Closes #13867 : remove untrue comment about PyWeakref_Check().
12 years ago
Antoine Pitrou
59c900d3bf
Fix macro expansion of _PyErr_OCCURRED(), and make sure to use it in at least one place so as to avoid regressions.
12 years ago
Raymond Hettinger
2ff2190b62
Issue #18594 : Fix the fast path for collections.Counter().
The path wasn't being taken due to an over-restrictive type check.
13 years ago
Serhiy Storchaka
9594942716
Issue #18783 : Removed existing mentions of Python long type in docstrings,
error messages and comments.
13 years ago
Ezio Melotti
85a8629d21
#18466 : fix more typos. Patch by Févry Thibault.
13 years ago
Serhiy Storchaka
f6d0aeeadc
Issue #16741 : Fix an error reporting in int().
13 years ago
Victor Stinner
ce72e1ce6c
According to the PEP 7, C code must "use 4-space indents"
Replace 8 spaces with 4.
13 years ago
Christian Heimes
e0a2d12ee5
Fix test for GCC 3.1+ but not strict ANSI C
13 years ago
Eli Bendersky
6dc32b34dd
Issue #13612 : handle unknown encodings without a buffer overflow.
This affects pyexpat and _elementtree. PyExpat_CAPI now exposes a new
function - DefaultUnknownEncodingHandler.
Based on a patch by Serhiy Storchaka.
13 years ago
Serhiy Storchaka
66d53fa9ad
Issue #16986 : ElementTree now correctly parses a string input not only when
an internal XML encoding is UTF-8 or US-ASCII.
13 years ago
Georg Brandl
c032f16d18
post-release update.
13 years ago
Georg Brandl
88f4dd6451
bump to 3.3.2
13 years ago
Georg Brandl
bfe36ec1f5
Bump to version 3.2.5.
13 years ago
Antoine Pitrou
957a23b088
Issue #17408 : Avoid using an obsolete instance of the copyreg module when the interpreter is shutdown and then started again.
13 years ago
Georg Brandl
bf561020a7
Post-release update for 3.3.1
13 years ago
Georg Brandl
9aa23c5671
Bump to 3.3.1.
13 years ago
Georg Brandl
8bc7e31529
Bump to 3.2.4.
13 years ago
Benjamin Peterson
cd85aa48ed
after 2.7.4rc1 bump
13 years ago
Benjamin Peterson
a1f6fab464
version to 2.7.4rc1
13 years ago
Georg Brandl
d08d0b1c69
Bump to 3.3.1rc1.
13 years ago
Georg Brandl
b673d99698
Bump to 3.2.4rc1.
13 years ago
Kristján Valur Jónsson
868f0aac37
issue #9090 : Take the same approach for socketmodule as daytimemodule
when it needs support from timemodule (which is a .so on linux):
link in timemodule.c for the required functions.
13 years ago
Serhiy Storchaka
04d86c7c87
Issue #1783 : Remove declarations of nonexistent private variables.
13 years ago
Serhiy Storchaka
f39d52f8cb
Issue #1783 : Remove declarations of nonexistent private variables.
13 years ago
Serhiy Storchaka
d7797c6e7a
Remove trailing whitespaces in cStringIO.h.
13 years ago
Serhiy Storchaka
74f49ab28b
Issue #15989 : Fix several occurrences of integer overflow
when result of PyInt_AsLong() or PyLong_AsLong() narrowed
to int without checks.
This is a backport of changesets 13e2e44db99d and 525407d89277.
13 years ago
Serhiy Storchaka
441d30fac7
Issue #15989 : Fix several occurrences of integer overflow
when result of PyLong_AsLong() narrowed to int without checks.
This is a backport of changesets 13e2e44db99d and 525407d89277.
13 years ago
Christian Heimes
61dbb00869
Issue #16881 : Fix Py_ARRAY_LENGTH macro for GCC < 3.1.
13 years ago
Gregory P. Smith
27cbcd6241
Fix the internals of our hash functions to used unsigned values during hash
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.
13 years ago
Antoine Pitrou
62a0d6ea40
Issue #16602 : When a weakref's target was part of a long deallocation chain, 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.
13 years ago
Antoine Pitrou
d38c990bb7
Issue #16602 : When a weakref's target was part of a long deallocation chain, 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.
13 years ago
Andrew Svetlov
c37cfd6709
Update comment: SAVE_EXC_STATE and SWAP_EXC_STATE macroses are saave_exc_state and swap_exc_state functions now.
13 years ago
Mark Dickinson
ce31f66a6d
Issue 10052: fix failed uint32_t / uint64_t / int32_t / int64_t detection on some platforms.
13 years ago
Mark Dickinson
17c50cdac2
Issue 10052: fix failed uint32_t / uint64_t / int32_t / int64_t detection on some platforms.
13 years ago
Stefan Krah
e78f12f7c2
Backport 9dd4638de73b.
13 years ago
Stefan Krah
36f021621e
Backport 9dd4638de73b.
13 years ago
Stefan Krah
4a3a3f3bda
Backport 5db6d9ddf6e8.
13 years ago
Stefan Krah
6df5cae49a
Issue #15835 : Define PATH_MAX on HP-UX.
13 years ago
Nick Coghlan
aab9c2b2ea
Issue #5765 : Apply a hard recursion limit in the compiler
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.
13 years ago
Ezio Melotti
e7f90375b1
#16127 : remove outdated references to narrow builds. Patch by Serhiy Storchaka.
14 years ago
Georg Brandl
ac76833033
Post-release update.
14 years ago
Georg Brandl
c7dcd50e4e
Bump version to 3.3.0 final.
14 years ago
Georg Brandl
f2487177eb
Post-release updates.
14 years ago
Georg Brandl
8506d3591c
Bump to 3.3.0rc3.
14 years ago
Christian Heimes
fd0ddab97b
GCC doesn't support typeof in strict ansi mode (e.g. -ansi or -std=c89)
14 years ago
Christian Heimes
ab816b5c85
GCC doesn't support typeof in strict ansi mode (e.g. -ansi or -std=c89)
14 years ago
Antoine Pitrou
ca8aa4acf6
Issue #15144 : Fix possible integer overflow when handling pointers as integer values, by using Py_uintptr_t instead of size_t.
Patch by Serhiy Storchaka.
14 years ago
Georg Brandl
05823f7d67
Post-release updates for 3.3.0rc2.
14 years ago
Antoine Pitrou
58098a77e6
Issue #13992 : The trashcan mechanism is now thread-safe. This eliminates
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 2.7.4
(those which use the trashcan mechanism, despite it being undocumented)
will not be loadable by 2.7.3 and earlier. However, extension modules
compiled for 2.7.3 and earlier will be loadable by 2.7.4.
14 years ago