Commit Graph

18036 Commits

Author SHA1 Message Date
Nadeem Vawda
367d4c8a80 Issue #12678: Fix distutils sdist test on Windows.
Patch by Jeremy Kloth.
2011-08-21 22:40:04 +02:00
Sandro Tosi
a75039ad88 #5301: add image/vnd.microsoft.icon (.ico) MIME type 2011-08-21 00:15:56 +02:00
Antoine Pitrou
808cec536a Issue #12213: Fix a buffering bug with interleaved reads and writes that
could appear on io.BufferedRandom streams.
2011-08-20 15:40:58 +02:00
Éric Araujo
410024a8fc Branch merge 2011-08-19 14:24:38 +02:00
Nadeem Vawda
860593653b Fix resource leaks in test_subprocess. 2011-08-19 05:22:24 +02:00
Éric Araujo
e7329f47e7 Guard shutil._make_archive against a logger=None argument.
Backporting two lines from the 3.x tests was enough to trigger the bug.
I also took the opportunity of making the logging call lazy.
2011-08-19 03:07:39 +02:00
Charles-François Natali
a8085d306e Issue #12650: fix failures on some buildbots, when a subprocess takes a long
time to spawn.
2011-08-19 00:26:38 +02:00
Charles-François Natali
100df0f2b0 Issue #12650: only run the tests on Unix. 2011-08-18 17:56:02 +02:00
Charles-François Natali
b02302c5cf Issue #12650: Fix a race condition where a subprocess.Popen could leak
resources (FD/zombie) when killed at the wrong time.
2011-08-18 17:18:28 +02:00
Barry Warsaw
edfba8244c The simplest possible fix for the regression in bug 12752 by encoding unicodes
to 8-bit strings.
2011-08-15 19:17:12 -04:00
Ezio Melotti
ea7b6f6e2a #12266: move the tests in test_unicode. 2011-08-15 10:04:28 +03:00
Ezio Melotti
15d6b65ead #12266: Fix str.capitalize() to correctly uppercase/lowercase titlecased and cased non-letter characters. 2011-08-15 09:22:24 +03:00
Senthil Kumaran
93e6a3d28f Remove the un-exercised in-module test code. 2011-08-10 21:57:22 +08:00
Raymond Hettinger
3ea5224c43 Issue 12717: Fix-up an earlier backport in ConfigParser. 2011-08-09 12:07:15 -07:00
Sandro Tosi
1381a31e39 #12677: correct turtle orientation in doc 2011-08-07 17:09:15 +02:00
Senthil Kumaran
ef651ac162 whitespace fix. 2011-08-07 10:03:58 +08:00
Senthil Kumaran
351950fbfc Remove the old dead test program within the module in 2.7. 2011-08-07 10:02:49 +08:00
Senthil Kumaran
b5bd4c88b5 Fix closes issue12698 - make the no_proxy environment variable handling a bit lenient (accomodate spaces in between the items) 2011-08-06 12:24:33 +08:00
Senthil Kumaran
28696fe491 add svn+ssh testcase for urljoin. 2011-08-03 22:06:05 +08:00
Senthil Kumaran
0df24c9e0c include svn+ssh as well. 2011-08-03 18:40:18 +08:00
Senthil Kumaran
f432aeca7c Fix closes issue12683 - urljoin to work with relative join of svn scheme. 2011-08-03 18:31:59 +08:00
Éric Araujo
3427839c93 Branch merge 2011-08-02 20:01:54 +02:00
Éric Araujo
33af263d36 Fix incorrect mtime comparison in distutils (#11933).
This is a regression introduced in 9211a5d7d0b4, when uses of ST_MTIME
constants were changed to uses of st_mtime attributes.  As diagnosed in
the bug report, this change is not merely stylistic: st_mtime is a
float but ST_MTIME’s resolution is rounded to the seconds, so there was
a mismatch between the values seen by file_util and dep_util which
caused an sdist to be unnecessarily created a second time on an ext4
filesystem.

This patch has been tested by John S. Gruber, who reported the bug.
As this is a simple code revert, I think it’s okay to commit without a
unit test.
2011-08-02 03:16:12 +02:00
Stefan Krah
01a3ee8b21 Backport 68b5f87566fb 2011-08-02 01:17:48 +02:00
Éric Araujo
0db7f72cc7 Branch merge 2011-08-01 14:48:19 +02:00