Georg Brandl
1d2436a581
Post-release bump.
2013-11-17 09:17:40 +01:00
Georg Brandl
9e2043a561
Bump to 3.3.3 final.
2013-11-17 07:58:22 +01:00
Georg Brandl
4cf9b2047d
Bump to 3.3.3rc2.
2013-11-11 06:13:54 +01:00
Georg Brandl
2d34f41bee
Bump to 3.3.3rc1.
2013-10-27 09:22:59 +01:00
Georg Brandl
3328871cac
merge heads
2013-10-08 20:29:47 +02:00
Georg Brandl
b296d09624
Closes #13867 : remove untrue comment about PyWeakref_Check().
2013-10-08 19:50:26 +02:00
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.
2013-10-07 20:38:51 +02:00
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.
2013-10-01 00:55:43 -07:00
Serhiy Storchaka
9594942716
Issue #18783 : Removed existing mentions of Python long type in docstrings,
...
error messages and comments.
2013-08-27 19:40:23 +03:00
Ezio Melotti
85a8629d21
#18466 : fix more typos. Patch by Févry Thibault.
2013-08-17 16:57:41 +03:00
Serhiy Storchaka
f6d0aeeadc
Issue #16741 : Fix an error reporting in int().
2013-08-03 20:55:06 +03:00
Victor Stinner
ce72e1ce6c
According to the PEP 7, C code must "use 4-space indents"
...
Replace 8 spaces with 4.
2013-07-27 00:00:36 +02:00
Christian Heimes
e0a2d12ee5
Fix test for GCC 3.1+ but not strict ANSI C
2013-06-24 15:39:41 +02:00
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.
2013-05-25 05:25:48 -07:00
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.
2013-05-22 17:07:51 +03:00
Georg Brandl
c032f16d18
post-release update.
2013-05-15 19:42:39 +02:00
Georg Brandl
88f4dd6451
bump to 3.3.2
2013-05-12 12:51:38 +02:00
Antoine Pitrou
957a23b088
Issue #17408 : Avoid using an obsolete instance of the copyreg module when the interpreter is shutdown and then started again.
2013-05-04 20:45:02 +02:00
Georg Brandl
bf561020a7
Post-release update for 3.3.1
2013-04-06 16:43:06 +02:00
Georg Brandl
9aa23c5671
Bump to 3.3.1.
2013-04-06 09:40:02 +02:00
Georg Brandl
d08d0b1c69
Bump to 3.3.1rc1.
2013-03-23 16:05:12 +01:00
Serhiy Storchaka
89fa86b035
Issue #1783 : Remove declarations of nonexistent private variables.
2013-02-01 13:14:47 +02:00
Serhiy Storchaka
04d86c7c87
Issue #1783 : Remove declarations of nonexistent private variables.
2013-02-01 13:14:20 +02:00
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.
2013-01-19 12:26:26 +02:00
Serhiy Storchaka
9101e23ff6
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.
2013-01-19 12:41:45 +02:00
Christian Heimes
61dbb00869
Issue #16881 : Fix Py_ARRAY_LENGTH macro for GCC < 3.1.
2013-01-06 16:41:56 +01:00
Gregory P. Smith
c2176e46d7
Fix the internals of our hash functions to used unsigned values during hash
...
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.
2012-12-10 18:32:53 -08:00
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.
2012-12-10 18:15:46 -08:00
Antoine Pitrou
f93ed3fa67
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.
2012-12-08 21:17:03 +01:00
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.
2012-12-08 21:15:26 +01:00
Andrew Svetlov
c37cfd6709
Update comment: SAVE_EXC_STATE and SWAP_EXC_STATE macroses are saave_exc_state and swap_exc_state functions now.
2012-12-05 17:59:10 +02:00
Mark Dickinson
6e61d18891
Issue 10052: merge fix from 3.2.
2012-12-02 13:21:37 +00:00
Mark Dickinson
ce31f66a6d
Issue 10052: fix failed uint32_t / uint64_t / int32_t / int64_t detection on some platforms.
2012-12-02 13:20:22 +00:00
Stefan Krah
36f021621e
Backport 9dd4638de73b.
2012-11-19 00:54:05 +01:00
Stefan Krah
6df5cae49a
Issue #15835 : Define PATH_MAX on HP-UX.
2012-11-12 20:14:36 +01:00
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.
2012-11-04 23:14:34 +10:00
Ezio Melotti
e7f90375b1
#16127 : remove outdated references to narrow builds. Patch by Serhiy Storchaka.
2012-10-05 03:33:31 +03:00
Benjamin Peterson
14fb44e1ba
merge mostly from default
2012-09-29 14:14:19 -04:00
Georg Brandl
ac76833033
Post-release update.
2012-09-29 14:21:25 +02:00
Georg Brandl
99a247fd01
Merge with main repo default branch.
2012-09-29 09:27:15 +02:00
Georg Brandl
c7dcd50e4e
Bump version to 3.3.0 final.
2012-09-29 09:04:54 +02:00
Georg Brandl
b5f91d7eb7
Merge with 3.3.0 release clone.
2012-09-24 07:46:35 +02:00
Georg Brandl
f2487177eb
Post-release updates.
2012-09-24 07:42:20 +02:00
Georg Brandl
8506d3591c
Bump to 3.3.0rc3.
2012-09-23 17:15:21 +02:00
Christian Heimes
fd0ddab97b
GCC doesn't support typeof in strict ansi mode (e.g. -ansi or -std=c89)
2012-09-23 16:15:01 +02:00
Christian Heimes
ab816b5c85
GCC doesn't support typeof in strict ansi mode (e.g. -ansi or -std=c89)
2012-09-23 16:15:01 +02:00
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.
2012-09-20 20:56:47 +02:00
Georg Brandl
5497295917
Merge in changes from 3.3.0rc2 release clone.
2012-09-09 11:19:17 +02:00
Georg Brandl
05823f7d67
Post-release updates for 3.3.0rc2.
2012-09-09 11:16:41 +02:00
Antoine Pitrou
5b4faae307
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.
Note that the trashcan functions are part of the stable ABI, therefore
they have to be kept around for binary compatibility of extensions.
2012-09-06 01:17:42 +02:00