Antoine Pitrou
f18d6f3f44
Fix flakiness in test_socketserver
2012-04-09 01:16:47 +02:00
Antoine Pitrou
c9e8e3c4dd
Issue #7978 : socketserver now restarts the select() call when EINTR is returned.
...
This avoids crashing the server loop when a signal is received.
Patch by Jerzy Kozera.
2012-04-09 00:49:17 +02:00
Antoine Pitrou
b0a9c66a49
Issue #7978 : socketserver now restarts the select() call when EINTR is returned.
...
This avoids crashing the server loop when a signal is received.
Patch by Jerzy Kozera.
2012-04-09 00:47:24 +02:00
R David Murray
f998810deb
Merge: Make test_mailbox runnable via python -m unittest.
2012-04-08 18:35:35 -04:00
R David Murray
317c8d257e
Make test_mailbox runnable via python -m unittest.
2012-04-08 16:46:18 -04:00
Kristján Valur Jónsson
e638513856
Remove unused variable from gcmodule.c. The code no longer tests for the
...
presence of a __del__ attribute on objects, rather it uses the tp_del slot.
2012-04-08 13:56:25 +00:00
Vinay Sajip
452806c8e3
Merged logging cookbook update from 3.2.
2012-04-08 01:51:29 +01:00
Vinay Sajip
0292fa99ef
Added multiprocessing example to logging cookbook.
2012-04-08 01:49:12 +01:00
Antoine Pitrou
df97cbe7a1
Issue #14522 : Avoid duplicating socket handles in multiprocessing.connection.
...
Patch by sbt.
2012-04-07 22:38:52 +02:00
Kristján Valur Jónsson
52a11f1f46
Issue #14310 : Catch testing errors when trying to create unsupported socket
...
types on some platforms.
2012-04-07 20:38:44 +00:00
Brett Cannon
8798ad3e1e
struct timeval.tv_usec is 4 bytes on 64-bit OS X as it should be, but
...
is defined as an int while everyone else expects a long regardless of
length.
2012-04-07 14:59:29 -04:00
Georg Brandl
014397e981
Determine opensearch URL from current version.
2012-04-07 19:24:40 +02:00
Georg Brandl
30e4ca45ad
Closes #14511 : merge with 3.2
2012-04-07 19:23:00 +02:00
Georg Brandl
3abebca780
Closes #14511 : fix wrong opensearch link for 3.2 docs.
2012-04-07 19:22:17 +02:00
Stefan Krah
1bcb138cf2
Merge.
2012-04-07 16:10:04 +02:00
Stefan Krah
dc36efa368
1) Fix comment.
...
2) Assert that the source operand is not special. Prevent resulting assert
failure (harmless) by initializing flags before calling mpd_qshiftr_inplace.
3) Save a couple of instructions (mpd_zerocoeff already sets digits and len).
Reorder initialization to match the order in the mpd_t struct.
2012-04-07 15:57:59 +02:00
Kristján Valur Jónsson
10f383a937
Issue #14310 : inter-process socket duplication for windows
2012-04-07 11:23:31 +00:00
Ross Lagerwall
0f9eec19ee
Don't Py_DECREF NULL variable in io.IncrementalNewlineDecoder.
...
Found with Clang's Static Analyzer.
2012-04-07 07:09:57 +02:00
Benjamin Peterson
c1b34a36f8
merge 3.2
2012-04-06 13:20:49 -04:00
Benjamin Peterson
403bb39d1d
merge heads
2012-04-06 13:20:39 -04:00
Benjamin Peterson
049208635d
merge heads
2012-04-06 13:20:25 -04:00
Benjamin Peterson
161aece9d3
merge 3.2
2012-04-06 13:20:16 -04:00
Benjamin Peterson
dcb89f4f09
port 3.1.5rc2 tag
2012-04-06 13:20:01 -04:00
Benjamin Peterson
718a8e8140
merge 3.1
2012-04-06 13:19:52 -04:00
Benjamin Peterson
7fddb4b2f6
Added tag v3.1.5 for changeset 7395330e495e
2012-04-06 13:17:30 -04:00
Benjamin Peterson
c37a4fdf54
bump to 3.1.5 final
2012-04-06 13:17:25 -04:00
Brett Cannon
d62cd5627f
Issue #14500 : Fix importlib.test.import_.test_packages to clean up
...
after itself properly.
2012-04-06 13:13:08 -04:00
Brett Cannon
83c02ee8e8
merge
2012-04-06 12:54:57 -04:00
Kristján Valur Jónsson
b2e58185e5
Set a time threshold in test_asyncore.capture_server so that tests don't
...
deadlock if the main thread fails before sending all the data.
2012-04-06 14:37:45 +00:00
Sandro Tosi
f3be68e0a8
Issue #14502 : it's RuntimeError on 3.3
2012-04-06 11:15:06 +02:00
R David Murray
3861a322b9
Merge #14492 : fix some bugs in Tools/scripts/pdeps.py.
...
Initial patch by Popa Claudiu.
2012-04-05 23:01:13 -04:00
R David Murray
d3af6344ef
#14492 : fix some bugs in Tools/scripts/pdeps.py.
...
Initial patch by Popa Claudiu.
2012-04-05 22:59:13 -04:00
Benjamin Peterson
e0029baba6
merge 3.2
2012-04-05 22:57:10 -04:00
Sandro Tosi
e3c3f24736
merge heads
2012-04-05 22:59:41 +02:00
Victor Stinner
afb5205c48
Close #14249 : Use bit shifts instead of an union, it's more efficient.
...
Patch written by Serhiy Storchaka
2012-04-05 22:54:49 +02:00
Sandro Tosi
5d1c2f0702
Issue #14502 : merge with 3.2
2012-04-05 22:53:21 +02:00
Sandro Tosi
fee3fc748e
Issue #14502 : release() and unlocked lock generates a ThreadError
2012-04-05 22:51:54 +02:00
Raymond Hettinger
02184282c7
Clarify that the purpose of computing all the miscellaneous collection types is to register them with the appropriate ABCs.
2012-04-05 13:31:12 -07:00
Andrew Svetlov
dfe980bb82
Issue #8515 : Set __file__ when run file in IDLE.
2012-04-05 21:54:39 +03:00
Stefan Krah
0130ad14dd
Merge.
2012-04-05 16:25:21 +02:00
Stefan Krah
4771cca817
Whitespace.
2012-04-05 16:15:25 +02:00
Stefan Krah
871b96bd5a
Reduce array size.
2012-04-05 16:07:22 +02:00
Andrew Svetlov
73d2da4209
Merge from 3.2
2012-04-05 17:04:28 +03:00
Andrew Svetlov
1024541a0d
Issue #14496 : Fix wrong name in idlelib/tabbedpages.py.
...
Patch by Popa Claudiu.
2012-04-05 16:58:05 +03:00
Stefan Krah
a6169484c2
Formatting.
2012-04-05 15:48:59 +02:00
Stefan Krah
ff3eca0cc3
Allow printing a leading '-' and the maximum number of exponent digits
...
rather than raising RuntimeError (allocated space is sufficient for the
additional character).
2012-04-05 15:46:19 +02:00
Stefan Krah
0774e9b9f5
Raise InvalidOperation if exponents of zeros are clamped during exact
...
conversion in the Decimal constructor. Exact here refers to the
representation and not to the value (clamping does not change the value).
2012-04-05 15:21:58 +02:00
Victor Stinner
e7eee01f36
Close #14249 : Use an union instead of a long to short pointer to avoid aliasing
...
issue. Speed up UTF-16 by 20%.
2012-04-05 13:44:34 +02:00
Andrew Svetlov
20bbf54f5e
Issue #3033 : Add displayof parameter to tkinter font.
...
Patch by Guilherme Polo.
2012-04-05 12:41:20 +03:00
Georg Brandl
9a13b432e7
Replace ThreadError by RuntimeError: the former is now an obsolete alias of the latter.
2012-04-05 09:53:04 +02:00