Benjamin Peterson
7b51b8de38
try to fix compilation on glibc's with cpu sets ( #14296 )
2012-03-14 22:28:25 -05:00
Benjamin Peterson
1767e0274b
free AST's dict
2012-03-14 21:50:29 -05:00
Raymond Hettinger
4775def25d
merge
2012-03-14 18:17:20 -07:00
Raymond Hettinger
13ec112b3a
Issue #13248 : Removed docs for two deprecated unittest features. To be conservative, the code is left in for one more release.
2012-03-14 18:16:18 -07:00
Gregory P. Smith
187fa8e4b7
merge heads
2012-03-14 18:14:48 -07:00
Gregory P. Smith
b7134998a5
merge heads
2012-03-14 18:14:26 -07:00
Gregory P. Smith
c362cbda97
Fixes Issue 14234: fix for the previous commit, keep compilation when
...
using --with-system-expat working when the system expat does not have
salted hash support.
2012-03-14 18:11:46 -07:00
Senthil Kumaran
7596aeaba7
cpython:Fix the wrong urllib exampls which use str for POST data. Closes Issue11261
2012-03-14 18:11:46 -07:00
Gregory P. Smith
c73f6dab11
Fixes Issue 14234: fix for the previous commit, keep compilation when
...
using --with-system-expat working when the system expat does not have
salted hash support.
2012-03-14 18:10:37 -07:00
Georg Brandl
a5d729a7f7
Transplant from main repo d6c197edd99b: Fixes Issue #14234 : CVE-2012-0876: Randomize hashes of xml attributes
2012-03-15 08:31:00 +01:00
Gregory P. Smith
2522771e47
Fixes Issue 14234: fix for the previous commit, keep compilation when
...
using --with-system-expat working when the system expat does not have
salted hash support.
2012-03-14 18:10:37 -07:00
Senthil Kumaran
87684e6eea
Fix the wrong urllib exampls which use str for POST data. Closes Issue11261
2012-03-14 18:08:13 -07:00
Victor Stinner
3d7c878fe3
Issue #14222 : Use the new time.steady() function instead of time.time() for
...
timeout in queue and threading modules to not be affected of system time
update.
2012-03-15 01:22:16 +01:00
Victor Stinner
071eca3f5c
Issue #10278 : Add an optional strict argument to time.steady(), False by default
2012-03-15 01:17:09 +01:00
Victor Stinner
ec919cc74d
Issue #10278 : Drop time.monotonic() function, rename time.wallclock() to time.steady()
...
* On Mac OS X, time.steady() now uses mach_absolute_time(), a monotonic clock
* Optimistic change: bet that CLOCK_MONOTONIC and CLOCK_REALTIME are available
when clock_gettime() is available
* Rewrite time.steady() documentation
2012-03-15 00:58:32 +01:00
Benjamin Peterson
5e5451940c
fix compiler warnings
2012-03-14 18:21:35 -05:00
Benjamin Peterson
1a5e5de818
remove get_prefix and set_prefix ( #13248 )
2012-03-14 17:41:15 -05:00
Matthias Klose
7c466b4fdc
merge 3.2
2012-03-14 23:27:12 +01:00
Matthias Klose
26ad995ceb
merge heads
2012-03-14 23:26:26 +01:00
Matthias Klose
4552b2eccc
merge 3.1
2012-03-14 23:26:07 +01:00
Matthias Klose
51982ada81
merge heads
2012-03-14 23:24:32 +01:00
Matthias Klose
20b303ed85
merge heads
2012-03-14 23:24:11 +01:00
Matthias Klose
5ce31cc4fc
merge 3.2
2012-03-14 23:17:31 +01:00
Matthias Klose
d83be23689
merge 3.1
2012-03-14 23:14:35 +01:00
Matthias Klose
0f4c16e29c
- rename configure.in to configure.ac
...
- change references from configure.in to configure.ac
2012-03-14 23:10:15 +01:00
Gregory P. Smith
f22568563b
merge
2012-03-14 15:04:57 -07:00
Gregory P. Smith
5a4ffdbe3d
merge heads
2012-03-14 15:04:18 -07:00
Gregory P. Smith
9439523c22
merge heads
2012-03-14 15:03:40 -07:00
Gregory P. Smith
8bfd49e0a0
merge (no change)
2012-03-14 15:01:57 -07:00
Gregory P. Smith
70c9c4dca6
Fixes Issue #14234 : CVE-2012-0876: Randomize hashes of xml attributes
...
in the hash table internal to the pyexpat module's copy of the expat
library to avoid a denial of service due to hash collisions.
Patch by David Malcolm with some modifications by the expat project.
2012-03-14 15:00:39 -07:00
Gregory P. Smith
0bca497721
merge (no change needed in 3.2)
2012-03-14 14:58:50 -07:00
Gregory P. Smith
1be7cd0a78
move the Misc/NEWS entry to the right section.
2012-03-14 14:58:22 -07:00
Michael Foord
d7c65e2807
Removed XXX from unittest.mock docstring and switch to a nicer try...except...finally
2012-03-14 14:56:54 -07:00
Georg Brandl
30162be9e4
merge with 3.2
2012-03-14 22:42:49 +01:00
Gregory P. Smith
373c740924
Fixes Issue #14234 : CVE-2012-0876: Randomize hashes of xml attributes
...
in the hash table internal to the pyexpat module's copy of the expat
library to avoid a denial of service due to hash collisions.
Patch by David Malcolm with some modifications by the expat project.
2012-03-14 14:41:00 -07:00
Michael Foord
a74b3aa0cc
Remove more Python 2 compatibility cruft from unittest.mock
2012-03-14 14:40:22 -07:00
Georg Brandl
300a691026
Closes #14305 : fix typo.
2012-03-14 22:40:08 +01:00
Gregory P. Smith
8e91cf6a5e
Fixes issue #14234 : CVE-2012-0876: Randomize hashes of xml attributes
...
in the hash table internal to the pyexpat module's copy of the expat
library to avoid a denial of service due to hash collisions.
Patch by David Malcolm with some modifications by the expat project.
2012-03-14 14:26:55 -07:00
Senthil Kumaran
e7c8fdee18
merge heads
2012-03-14 14:00:31 -07:00
Senthil Kumaran
2f9bf35007
Fix the buildbot breakdown - issue 10050
2012-03-14 13:59:56 -07:00
Andrew Svetlov
8247b188f3
Megre from tip
2012-03-14 13:46:08 -07:00
Andrew Svetlov
b53da6e374
Merge from tip
2012-03-14 13:44:02 -07:00
Senthil Kumaran
38b968b913
deprecated the old urllib primitives in 3.3 urllib package - issue 10050
2012-03-14 13:43:53 -07:00
Michael Foord
c17adf4151
Remove Python 2 compatibility cruft from unittest.mock
2012-03-14 13:30:29 -07:00
Andrew Svetlov
05bab93339
Issue #14200 : Idle shell crash on printing non-BMP unicode character.
...
UnicodeEncodeError is raised for strings contains non-BMP characters.
For eval results unicode escaping is used, print() calls display
exception with traceback as usual.
2012-03-14 13:22:12 -07:00
Michael Foord
ebff097937
And another one... mock import fix.
2012-03-14 13:01:31 -07:00
Michael Foord
be55566c25
Merge
2012-03-14 12:59:08 -07:00
Michael Foord
83a16856ee
Fix another mock import
2012-03-14 12:58:46 -07:00
Michael Foord
0ca9acd1dd
Fix import failure in mock test
2012-03-14 12:38:06 -07:00
R David Murray
b53319f509
#12818 : remove escaping of () in quoted strings in formataddr
...
The quoting of ()s inside quoted strings is allowed by the RFC, but is not
needed. There seems to be no reason to add needless escapes.
2012-03-14 15:31:47 -04:00