Éric Araujo
5fa8e7a559
Add missing name in shutil
2011-08-21 14:29:18 +02:00
Éric Araujo
52b201f0df
Add missing closing paren in docstring (thanks Ezio)
2011-08-21 12:53:37 +02:00
Sandro Tosi
83f7d347d5
#5301 : add image/vnd.microsoft.icon (.ico) MIME type
2011-08-21 00:16:18 +02:00
Éric Araujo
ff531461e0
Branch merge
2011-08-20 19:55:58 +02:00
Antoine Pitrou
e05565ec5a
Issue #12213 : Fix a buffering bug with interleaved reads and writes that
...
could appear on BufferedRandom streams.
2011-08-20 14:39:23 +02:00
Antoine Pitrou
a370fcf3b2
Issue #12791 : Break reference cycles early when a generator exits with an exception.
2011-08-20 14:15:03 +02:00
Éric Araujo
e1e1331a49
Dedent example in docstring
2011-08-20 07:25:39 +02:00
Éric Araujo
1772541085
Add a test for extension modules in the distutils record file.
...
I made a note a month ago that install --record wrote incorrect entries
for extension modules (I think the problem was that the first character
of the file was stripped), so I’m now adding a test to try to reproduce
that in the current versions.
2011-08-20 07:08:51 +02:00
Éric Araujo
9358bfdaff
Rework test_record a bit to make the test more exact
2011-08-20 07:00:41 +02:00
Éric Araujo
def15dafda
Refactor the copying of xxmodule.c in distutils tests ( #12141 ).
...
I need to copy this file in another test too, so I moved the support
code to distutils.tests.support and improved it:
- don’t skip when run from the Lib/distutils/tests directory
- use proper skip machinery instead of custom print/return/test suite
fiddling.
2011-08-20 06:27:18 +02:00
Antoine Pitrou
20db51108c
Fix typo in test names
2011-08-19 20:32:34 +02:00
Éric Araujo
57bee66c03
Branch merge
2011-08-19 14:22:28 +02:00
Vinay Sajip
2da23caec0
Issue #12780 : Removed checks in logging for .pyc/.pyo in __file__.
2011-08-19 07:14:40 +01:00
Nadeem Vawda
0d7cda3e63
Fix ResourceWarnings in test_subprocess.
2011-08-19 05:12:01 +02:00
Éric Araujo
43a7ee1f3b
Make logging call lazy
2011-08-19 02:55:11 +02:00
Charles-François Natali
72d161af51
Issue #12650 : fix failures on some buildbots, when a subprocess takes a long
...
time to spawn.
2011-08-19 00:24:00 +02:00
Charles-François Natali
134a8baed9
Issue #12650 : Fix a race condition where a subprocess.Popen could leak
...
resources (FD/zombie) when killed at the wrong time.
2011-08-18 18:49:39 +02:00
Ezio Melotti
ee8d998ecf
#12266 : Fix str.capitalize() to correctly uppercase/lowercase titlecased and cased non-letter characters.
2011-08-15 09:09:57 +03:00
Georg Brandl
3abb372c81
Fix #11513 : wrong exception handling for the case that GzipFile itself raises an IOError.
2011-08-13 11:48:12 +02:00
Benjamin Peterson
963e40256a
tokenize is just broken on test_pep3131.py
2011-08-13 00:33:21 -05:00
Benjamin Peterson
be66287e20
normalization is different between unicode builds, so use a new non-BMP char and add normalization test
2011-08-12 23:35:34 -05:00
Benjamin Peterson
f413b80806
in narrow builds, make sure to test codepoints as identifier characters ( closes #12732 )
...
This fixes the use of Unicode identifiers outside the BMP in narrow builds.
2011-08-12 22:17:18 -05:00
Éric Araujo
28d39a0c08
Branch merge
2011-08-12 17:40:25 +02:00
Antoine Pitrou
f6c7a8595e
Issue #12687 : Fix a possible buffering bug when unpickling text mode (protocol 0, mostly) pickles.
2011-08-11 21:04:02 +02:00
Senthil Kumaran
962fed9101
Fix closes Issue10087 - fixing the output of calendar display in the html format. Patch by Chris Lambacher. Test Contributed by catherine.
2011-08-11 09:22:52 +08:00
Éric Araujo
ef1e94a848
Test pipes.quote with a few non-ASCII characters (see #9723 ).
...
That pipes.quote thinks all non-ASCII characters need to be quoted may
be a bug, but right now I’m committing this test to make sure I haven’t
introduced a behavior change in 3.3 when I simplified the code to use a
regex (in 5966eeb0457d).
2011-08-09 23:03:43 +02:00
Sandro Tosi
2a389e4601
#12677 : correct turtle orientation in doc
2011-08-07 17:12:19 +02:00
Senthil Kumaran
89976f1cdc
Fix closes issue12698 - make the no_proxy environment variable handling a bit lenient (accomodate spaces in between the items)
2011-08-06 12:27:40 +08:00
Ned Deily
e5cad23a92
Issue #12540 : Prevent zombie IDLE processes on Windows due to changes
...
in os.kill(). Original patch by Eli Bendersky.
2011-08-02 18:47:13 -07:00
Senthil Kumaran
7ce71f6496
change the redundant svn scheme urljoin test case to svn+ssh scheme.
2011-08-03 22:08:46 +08:00
Senthil Kumaran
56ee6d1820
merged heads
2011-08-03 18:46:24 +08:00
Senthil Kumaran
2a157d2a3d
Fix closes issue12683 - urljoin to work with relative join of svn scheme.
2011-08-03 18:37:22 +08:00
Georg Brandl
25e2cd1388
Fix spacing in string literal.
2011-08-03 08:27:00 +02:00
Senthil Kumaran
eb71ad4c71
Fix closes Issue12676 - Invalid identifier used in TypeError message in http.client.
...
Reported by Popa Claudiu and Patch by Santoso Wijaya.
2011-08-02 18:33:41 +08:00
Stefan Krah
f187a0230b
Skip test_getsetlocale_issue1813() on Fedora due to setlocale() bug.
...
See: https://bugzilla.redhat.com/show_bug.cgi?id=726536
2011-08-02 01:06:16 +02:00
Éric Araujo
ccf03a1cdc
Fix resource warning when looking at turtledemo’s help ( #12295 )
2011-08-01 17:29:36 +02:00
Éric Araujo
2ffea0e8d7
Branch merge
2011-08-01 14:43:45 +02:00
Éric Araujo
548c054fb7
Stop trying to write into the stdlib during lib2to3 tests ( #12331 ).
...
This prevents tests from failing when run from a Python installed in a
read-only directory.
2011-07-31 17:58:46 +02:00
Senthil Kumaran
e324c57367
using support.transient_internet helper method in the urllib2net test.
2011-07-31 11:45:14 +08:00
Éric Araujo
ab7c1b3f11
Fix regression with distutils MANIFEST handing ( #11104 , #8688 ).
...
The changed behavior of sdist in 3.1 broke packaging for projects that
wanted to use a manually-maintained MANIFEST file (instead of having a
MANIFEST.in template and letting distutils generate the MANIFEST).
The fixes that were committed for #8688 (76643c286b9f by Tarek and
d54da9248ed9 by me) did not fix all issues exposed in the bug report,
and also added one problem: the MANIFEST file format gained comments,
but the read_manifest method was not updated to handle (i.e. ignore)
them. This changeset should fix everything; the tests have been
expanded and I successfully tested the 2.7 version with Mercurial, which
suffered from this regression.
I have grouped the versionchanged directives for these bugs in one place
and added micro version numbers to help users know the quirks of the
exact version they’re using.
Initial report, thorough diagnosis and patch by John Dennis, further
work on the patch by Stephen Thorne, and a few edits and additions by
me.
2011-07-31 04:06:12 +02:00
Antoine Pitrou
b9c73e8cf0
Issue #12626 : In regrtest, allow to filter tests using a glob filter
...
with the `-m` (or `--match`) option. This works with all test cases
using the unittest module. This is useful with long test suites
such as test_io or test_subprocess.
2011-07-29 23:53:38 +02:00
Charles-François Natali
def35435ee
Issue #12464 : tempfile.TemporaryDirectory.cleanup() should not follow symlinks:
...
fix it. Patch by Petri Lehtinen.
2011-07-29 18:59:24 +02:00
Éric Araujo
e64e51bfa7
Make “pydoc somebuiltin.somemethod” work ( #8887 )
2011-07-29 17:03:55 +02:00
Éric Araujo
158d7696f3
Branch merge
2011-07-29 14:24:08 +02:00
Raymond Hettinger
3a081f526d
Issue 12514: Use try/finally to assure that timeit restores GC when done.
2011-07-29 00:02:04 -07:00
Éric Araujo
cf534817ad
Branch merge
2011-07-28 23:08:11 +02:00
Éric Araujo
fc662ddda2
Merge profile docs followup ( #12417 ) from 3.1
2011-07-28 23:00:14 +02:00
Éric Araujo
ee19c772cb
Remove mentions of previous license in profile module docs ( #12417 followup).
...
Also remove an extra docstring.
2011-07-28 22:56:24 +02:00
Senthil Kumaran
7c9719cf74
Fix closes Issue11439 Remove the SVN keywords from the code as it is no longer applicable in hg. Patch Contributed by Neil Muller.
2011-07-28 22:32:49 +08:00
Charles-François Natali
d4d1d068dc
Issue #11871 : In test_threading.BarrierTests, bump the default barrier timeout
...
to avoid timing-dependent failures.
2011-07-27 21:26:42 +02:00