Benjamin Peterson
b845decc22
merge heads
2012-04-03 00:35:44 -04:00
Benjamin Peterson
0a9a636302
merge 3.2
2012-04-03 00:35:36 -04:00
Benjamin Peterson
80d50428ce
fix parse_syntax_error to clean up its resources
2012-04-03 00:30:38 -04:00
Brett Cannon
5ceef131d4
merge
2012-04-02 20:34:20 -04:00
Brett Cannon
927d87470a
If a module injects something into sys.modules as a side-effect of
...
importation, then respect that injection.
Discovered thanks to Lib/xml/parsers/expat.py injecting
xml.parsers.expat.errors and etree now importing that directly as a
module.
2012-04-02 20:33:56 -04:00
Victor Stinner
30d79471bb
Expose clock_settime() as time.clock_settime()
2012-04-03 00:45:07 +02:00
Victor Stinner
1470f35bc6
Add time.CLOCK_HIGHRES constant, needed on Solaris
2012-04-03 00:31:17 +02:00
Stefan Krah
4ee2a8a127
Merge.
2012-04-02 20:59:15 +02:00
Stefan Krah
91c0274bc4
Improve comments.
2012-04-02 20:51:08 +02:00
Benjamin Peterson
cbb290af08
merge 3.2
2012-04-02 14:25:55 -04:00
Benjamin Peterson
6215444a0a
remove uneeded line
2012-04-02 14:22:50 -04:00
Stefan Krah
9d2801095f
Testing the implicit initialization of the thread local context on first
...
access fails (expectedly) if other modules have already used decimal. The
only option is to remove the test.
2012-04-02 19:10:20 +02:00
Brett Cannon
368b4b7405
Guard an LLTRACE variable to silence an unused variable warning.
2012-04-02 12:17:59 -04:00
Kristján Valur Jónsson
2247775bfa
Merge with 3.2 (Issue #14471 )
2012-04-02 15:41:06 +00:00
Benjamin Peterson
dba1b40b60
merge 3.2
2012-04-02 11:28:49 -04:00
Kristján Valur Jónsson
984dfa7eed
Issue #14471 : Fix a possible buffer overrun in the winreg module.
2012-04-02 15:23:29 +00:00
Benjamin Peterson
e900096dc4
prevent writing to stderr from messing up the exception state ( closes #14474 )
2012-04-02 11:15:17 -04:00
Stefan Krah
38548ad006
Whitespace.
2012-04-02 15:10:36 +02:00
Stefan Krah
aae5c3a8ab
Merge.
2012-04-02 15:04:14 +02:00
Stefan Krah
5100171d81
Clear the context flags if a context is initialized from the DefaultContext.
2012-04-02 15:02:21 +02:00
Georg Brandl
f4228b0e6a
Merge.
2012-04-02 07:52:29 +02:00
Georg Brandl
d3fca8e07f
Post-release update.
2012-04-02 07:51:45 +02:00
Benjamin Peterson
9ee601e197
merge 3.2
2012-04-01 18:51:37 -04:00
Benjamin Peterson
b6af60c2a9
adjust formatting
2012-04-01 18:49:54 -04:00
Benjamin Peterson
3471bb67e7
remove extraneous condition
2012-04-01 18:48:40 -04:00
Benjamin Peterson
29f843816b
merge heads
2012-04-01 18:48:11 -04:00
Benjamin Peterson
ab3c1c1994
be consistent with rest of function
2012-04-01 18:48:02 -04:00
Stefan Krah
41e031004b
Fix Overflow exception in the bignum factorial benchmark that is due to
...
the recent change of the default value for context.Emax.
2012-04-01 23:25:34 +02:00
Martin v. Löwis
8dbbae990c
Add _decimal and _testbuffer modules.
2012-04-01 19:55:48 +02:00
Martin v. Löwis
ffc3e1ab40
Add MASM define to PGI and PGO builds
2012-04-01 19:54:33 +02:00
Antoine Pitrou
93bba8fb8a
Issue #14151 : Raise a ValueError, not a NameError, when trying to create
...
a multiprocessing Client or Listener with an AF_PIPE type address under
non-Windows platforms. Patch by Popa Claudiu.
2012-04-01 17:25:49 +02:00
Antoine Pitrou
709176f10c
Issue #14151 : Raise a ValueError, not a NameError, when trying to create
...
a multiprocessing Client or Listener with an AF_PIPE type address under
non-Windows platforms. Patch by Popa Claudiu.
2012-04-01 17:19:09 +02:00
Eli Bendersky
0261d754cd
Removing the test of Element that causes ref-leak in GC (issue #14464 ).
...
I will now continue investigating the cause of the ref-leak, but I wanted
to remove the test so that the refcount test in the buildbots could be clean.
The whole change (adding GC to Element) is not reverted because it improved
the situation (GC works for immediate cycles) and didn't cause regressions
(the test is new and was added together with the fix).
2012-04-01 17:40:17 +03:00
Antoine Pitrou
29b964d0dd
Issue #13019 : Fix potential reference leaks in bytearray.extend().
...
Patch by Suman Saha.
2012-04-01 16:08:11 +02:00
Antoine Pitrou
58bb82e7b4
Issue #13019 : Fix potential reference leaks in bytearray.extend().
...
Patch by Suman Saha.
2012-04-01 16:05:46 +02:00
Georg Brandl
2d95c4e835
Added tag v3.3.0a2 for changeset 2f69db52d6de
2012-04-01 13:49:38 +02:00
Georg Brandl
50af011ca6
Bump to 3.3.0a2.
2012-04-01 13:49:21 +02:00
Georg Brandl
24891672ce
Fix markup errors found by "make suspicious".
2012-04-01 13:48:26 +02:00
Georg Brandl
3f4a1b30e4
Update pydoc topics.
2012-04-01 13:46:44 +02:00
Georg Brandl
204e7896d6
Remove parens around link.
2012-04-01 13:10:58 +02:00
Stefan Krah
bf8030830f
Issue #14394 : Use elaborate phrases that boil down to "one to two orders
...
of magnitude". Provide link to the benchmarks.
2012-04-01 13:07:24 +02:00
Ned Deily
458a6fbaa8
Issue #14463 : Prevent _decimal.so compile failures in OS X installer builds.
2012-04-01 02:30:46 -07:00
Ned Deily
4d4c0eeaf5
Issue #13507 : OS X installer builds now build liblzma for the new
...
lzma module. (Patch by Nicholas Riley)
2012-04-01 00:17:33 -07:00
Sandro Tosi
5b072efc28
merge with 3.2
2012-04-01 01:50:22 +02:00
Sandro Tosi
165a2c2e27
fix typo; thanks to Robert Bardos from docs@
2012-04-01 01:50:00 +02:00
Antoine Pitrou
9a54a260de
Issue #14300 : Under Windows, sockets created using socket.dup() now allow overlapped I/O.
...
Patch by sbt.
2012-04-01 01:14:39 +02:00
Antoine Pitrou
8315f96764
Issue #13872 : socket.detach() now marks the socket closed (as mirrored in the socket repr()).
...
Patch by Matt Joiner.
2012-04-01 01:00:55 +02:00
Antoine Pitrou
70deb3de39
Issue #13872 : socket.detach() now marks the socket closed (as mirrored in the socket repr()).
...
Patch by Matt Joiner.
2012-04-01 01:00:17 +02:00
Antoine Pitrou
8612b4c21c
Null merge
2012-03-31 23:51:25 +02:00
Antoine Pitrou
6211b88161
Issue #14437 : Fix building the _io module under Cygwin.
2012-03-31 23:50:31 +02:00