Commit graph

41748 commits

Author SHA1 Message Date
Ned Deily
45e47e58ed Issue9670: Back out changeset 378b40d71175; test fails on other platforms
and on OS X with pydebug.
2011-04-09 14:50:59 -07:00
Ned Deily
517ac72b00 Issue #9670: Increase the default stack size for secondary threads on
Mac OS X and FreeBSD to reduce the chances of a crash instead of a
"maximum recursion depth" RuntimeError exception.
(Patch by Ronald Oussoren)
2011-04-09 12:32:12 -07:00
Ross Lagerwall
e620d10701 Issue #11719: Fix message about unexpected test_msilib skip.
Patch by Nadeem Vawda.
2011-04-09 19:30:03 +02:00
Victor Stinner
52c950f229 Issue #11650: PyOS_StdioReadline() retries fgets() if it was interrupted
(EINTR), for example if the program is stopped with CTRL+z on Mac OS X. Patch
written by Charles-Francois Natali.
2011-04-09 15:55:44 +02:00
R David Murray
e1292a25d8 #11492: fix header truncation on folding when there are runs of split chars.
Not a complete fix for this issue.
2011-04-07 20:54:03 -04:00
R David Murray
7da4db118e Improve test coverage of _split_ascii method. 2011-04-07 20:37:17 -04:00
Barry Warsaw
88e194513e Refinement by Stefan Krah (see issue 11715, msg133194) to exit early if the
dpkg-architecture command is not found on $PATH.  This should fix the failures
on FreeBSD and Solaris, which do not create the target file via I/O
redirection if the command isn't found (unlike Linux and OS X which do).
2011-04-07 10:40:36 -04:00
Barry Warsaw
5ca305a599 Issue 11715: Build extension modules on multiarch Debian and Ubuntu by
extending search paths to include multiarch directories.
2011-04-06 15:18:12 -04:00
Senthil Kumaran
8f377a3bbe Issue #10762: Guard against invalid/non-supported format string '%f' on Windows. Patch Santoso Wijaya. 2011-04-06 12:54:06 +08:00
Antoine Pitrou
c824e9a713 Try to fix sporadic test_multiprocessing failure 2011-04-05 18:11:33 +02:00
Ross Lagerwall
4f61b02520 Issue #10963: Ensure that subprocess.communicate() never raises EPIPE. 2011-04-05 15:34:00 +02:00
Antoine Pitrou
45fdb457da Try to fix sporadic failure in test_thread/test_threading 2011-04-04 21:59:09 +02:00
Antoine Pitrou
b35f29a0e0 Issue #11761: make tests for gc.get_count() less fragile 2011-04-04 19:50:42 +02:00
Ezio Melotti
b5ff3e4ce5 Fix typo noticed by Sandro Tosi. 2011-04-03 16:20:21 +03:00
Kristjan Valur Jonsson
d05595697d Merge 3.1 2011-03-30 11:54:13 +00:00
Kristjan Valur Jonsson
35722a9376 Bugfix: Properly test for errors from PyLong_AsLong() in itertools.cycle.
ti can raise an exception even if PyLong_Check() has
succeeded.
2011-03-30 11:04:28 +00:00
Raymond Hettinger
d6c1d57195 Issue 11713: clarify docstring for collections.deque() 2011-03-29 17:30:01 -07:00
Guido van Rossum
acb63092b7 Merge issue 11662. 2011-03-29 12:55:41 -07:00
guido@google.com
a119df91f3 Issue 11662: Fix vulnerability in urllib/urllib2.
(This version is a cleaned-up backport of a fix by Senthil Kumaran.)
2011-03-29 11:41:02 -07:00
Benjamin Peterson
ad45bfe2d3 let's keep parenthesis around sizeof 2011-03-28 17:25:15 -05:00
Ezio Melotti
9b2e67c4fa #10617: add class directives to collections ABCs. 2011-03-28 13:50:41 +03:00
Martin v. Löwis
f8d887e0d3 Closes #11696: Fix ID generation in msilib.
Patch by Mark Mc Mahon.
2011-03-27 21:05:51 +02:00
Mark Dickinson
92b60d55d9 Issue #9696: Fix exception incorrectly raised by xdrlib.Packer.pack_int when trying to pack a negative (in-range) integer. 2011-03-27 16:25:40 +01:00
Mark Dickinson
ccd2283c6f Fix misplaced Misc/NEWS entry. 2011-03-27 15:46:32 +01:00
Martin v. Löwis
9bad3a99dd Fix short file name generation in bdist_msi.
Patch by Christoph Gohlke.
Closes #7639.
2011-03-27 10:12:07 +02:00
Benjamin Peterson
c01ffdf61e revert unintended changes 2011-03-26 18:11:54 -05:00
Benjamin Peterson
39530f8cbe always check return value of PyObject_IsInstance for error 2011-03-26 18:04:09 -05:00
Benjamin Peterson
8d6c62dd89 check possible recursive _as_parameter_ to prevent segfault (closes #1838) 2011-03-26 17:56:28 -05:00
Ross Lagerwall
b8a5769a6d Issue #11659: Fix ResourceWarning in test_subprocess introduced by #11459.
Patch by Ben Hayden.
2011-03-26 21:19:57 +02:00
Mark Dickinson
89461ef8fc Issue #11675: Zero-out newly-created multiprocessing.[Raw]Array objects. 2011-03-26 10:19:03 +00:00
Éric Araujo
211643b673 Branch merge 2011-03-26 01:55:56 +01:00
Kurt B. Kaiser
946f17214c <Home> toggle failing on Tk 8.5, causing IDLE exits. Issue #4676 2011-03-25 20:29:13 -04:00
Éric Araujo
f84eb5a380 Branch merge 2011-03-26 00:47:47 +01:00
Éric Araujo
5ab477695c Tweaks to sys.flags description table.
The options listed in the table are now links to their documentation,
and the table uses compact markup to make it easier to read and edit.
First proposed in #10998.
2011-03-26 00:47:04 +01:00
Éric Araujo
a464d4e608 Remove untrue statement from tutorial 2011-03-25 21:53:58 +01:00
R David Murray
b9a428d57d #9557: eliminate 3 seconds of static overhead from test_mailbox.
This patch doesn't quite fix the 'run in a VM with Samba share'
timing problem, but it should at least make it better.
2011-03-25 16:03:47 -04:00
Éric Araujo
4dcf50250c Use universal construct os.path.expanduser('~') instead of os.environ['HOME'] 2011-03-25 20:31:50 +01:00
Ezio Melotti
ebbf1e67a8 #2650: Refactor re.escape to use enumerate(). 2011-03-25 14:19:30 +02:00
Ezio Melotti
7b9e97b487 #2650: Add tests with non-ascii chars for re.escape. 2011-03-25 14:09:33 +02:00
Ezio Melotti
d2114ebd97 #2650: Refactor the tests for re.escape. 2011-03-25 14:08:44 +02:00
Kurt B. Kaiser
5cf7878fda Merge 3.1 2011-03-24 13:19:35 -04:00
R David Murray
b938c8c253 #11606: improved body_encode algorithm, no longer produces overlong lines
Algorithm and initial patch by Michael Henry.
2011-03-24 12:19:26 -04:00
Kurt B. Kaiser
f9439914c8 Merge 3.1 2011-03-24 12:03:36 -04:00
Victor Stinner
29943aa120 test_multiprocessing: use assertLess() to see the timeout on error 2011-03-24 16:24:07 +01:00
R David Murray
cafd79d904 #11590: fix quoprimime decode handling of empty strings and line endings. 2011-03-23 15:25:55 -04:00
R David Murray
ec1b5b88ee #11589: add additional tests for the email quoprimime module.
Patch by Michael Henry.
2011-03-23 14:19:05 -04:00
Éric Araujo
48049911d6 Fix obscure set crashers (#8420). Backport of d56b3cafb1e6, reviewed by Raymond. 2011-03-23 02:08:07 +01:00
Raymond Hettinger
c706dbfa67 Issue #10610: Document that int(), float(), and complex() accept numeric literals with the Nd property. 2011-03-22 17:33:17 -07:00
Raymond Hettinger
3b654be1a4 Issue #10771: Clarify that descriptors get used in an *owner* class or one of its parents. 2011-03-22 16:27:02 -07:00
Raymond Hettinger
a8e4d6eb6e Issue 10787: Document the probability density function for random.gammavariate. 2011-03-22 15:55:51 -07:00