summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix distutils tests on Windows (#12678).Éric Araujo2011-08-233-23/+30
| | | | | | | | | | | | | | | | | | - First, support.fixup_build_ext (already used to set proper library_dirs value under Unix shared builds) gains the ability to correctly set the debug attribute under Windows debug builds. - Second, the filename for the extension module gets a _d suffix under debug builds. - Third, the test code properly puts our customized build_ext object into an internal dictionary to make sure that the install command will later use our object instead of re-creating one. That’s the downside of using low-level APIs in our test code: we have to manually push knobs and turn handles that would otherwise be handled behind the scenes. Thanks to Nadeem for the testing.
* MergeAntoine Pitrou2011-08-231-6/+2
|\
| * Issue #12821: Fix test_fcntl failures on OpenBSD 5.Charles-François Natali2011-08-231-6/+2
| |
* | Issue #11657: Fix sending file descriptors over 255 over a multiprocessing Pipe.Antoine Pitrou2011-08-231-1/+81
| | | | | | | | Also added some tests.
* | A warning doesn't equate a failed testAntoine Pitrou2011-08-231-1/+0
|/ | | | (this broken -F with e.g. test_multiprocessing)
* Fix indentation and add a skip decorator.Ezio Melotti2011-08-221-24/+28
|
* #9200: The str.is* methods now work with strings that contain non-BMP ↵Ezio Melotti2011-08-221-1/+157
| | | | characters even in narrow Unicode builds.
* Issue #12678: Fix distutils sdist test on Windows.Nadeem Vawda2011-08-211-0/+1
| | | | Patch by Jeremy Kloth.
* Fix distutils test_install for shared CPython buildsÉric Araujo2011-08-211-0/+1
|
* Factor out the build_ext fixup for shared Python builds.Éric Araujo2011-08-212-25/+33
| | | | I need this to fix the failing test_install.
* Add missing name in shutilÉric Araujo2011-08-211-1/+1
|
* Add missing closing paren in docstring (thanks Ezio)Éric Araujo2011-08-211-1/+1
|
* #5301: add image/vnd.microsoft.icon (.ico) MIME typeSandro Tosi2011-08-201-0/+1
|
* Branch mergeÉric Araujo2011-08-203-33/+90
|\
| * Dedent example in docstringÉric Araujo2011-08-201-3/+3
| |
| * Add a test for extension modules in the distutils record file.Éric Araujo2011-08-201-0/+33
| | | | | | | | | | | | | | 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.
| * Rework test_record a bit to make the test more exactÉric Araujo2011-08-201-10/+12
| |
| * Refactor the copying of xxmodule.c in distutils tests (#12141).Éric Araujo2011-08-202-24/+46
| | | | | | | | | | | | | | | | | | 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.
* | Issue #12213: Fix a buffering bug with interleaved reads and writes thatAntoine Pitrou2011-08-201-2/+42
| | | | | | | | could appear on BufferedRandom streams.
* | Issue #12791: Break reference cycles early when a generator exits with an ↵Antoine Pitrou2011-08-201-0/+62
| | | | | | | | exception.
* | Fix typo in test namesAntoine Pitrou2011-08-191-4/+4
|/
* Branch mergeÉric Araujo2011-08-191-1/+1
|\
| * Make logging call lazyÉric Araujo2011-08-191-1/+1
| |
* | Issue #12780: Removed checks in logging for .pyc/.pyo in __file__.Vinay Sajip2011-08-191-2/+0
| |
* | Fix ResourceWarnings in test_subprocess.Nadeem Vawda2011-08-191-0/+4
| |
* | Issue #12650: fix failures on some buildbots, when a subprocess takes a longCharles-François Natali2011-08-181-12/+0
| | | | | | | | time to spawn.
* | Issue #12650: Fix a race condition where a subprocess.Popen could leakCharles-François Natali2011-08-182-1/+64
|/ | | | resources (FD/zombie) when killed at the wrong time.
* #12266: Fix str.capitalize() to correctly uppercase/lowercase titlecased and ↵Ezio Melotti2011-08-151-0/+17
| | | | cased non-letter characters.
* Fix #11513: wrong exception handling for the case that GzipFile itself ↵Georg Brandl2011-08-132-2/+12
| | | | raises an IOError.
* tokenize is just broken on test_pep3131.pyBenjamin Peterson2011-08-131-0/+3
|
* normalization is different between unicode builds, so use a new non-BMP char ↵Benjamin Peterson2011-08-131-3/+12
| | | | and add normalization test
* in narrow builds, make sure to test codepoints as identifier characters ↵Benjamin Peterson2011-08-132-0/+4
| | | | | | (closes #12732) This fixes the use of Unicode identifiers outside the BMP in narrow builds.
* Branch mergeÉric Araujo2011-08-121-1/+2
|\
| * Test pipes.quote with a few non-ASCII characters (see #9723).Éric Araujo2011-08-091-1/+2
| | | | | | | | | | | | | | 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).
* | Issue #12687: Fix a possible buffering bug when unpickling text mode ↵Antoine Pitrou2011-08-111-0/+13
| | | | | | | | (protocol 0, mostly) pickles.
* | Fix closes Issue10087 - fixing the output of calendar display in the html ↵Senthil Kumaran2011-08-112-4/+14
|/ | | | format. Patch by Chris Lambacher. Test Contributed by catherine.
* #12677: correct turtle orientation in docSandro Tosi2011-08-072-4/+4
|
* Fix closes issue12698 - make the no_proxy environment variable handling a ↵Senthil Kumaran2011-08-062-2/+5
| | | | bit lenient (accomodate spaces in between the items)
* Issue #12540: Prevent zombie IDLE processes on Windows due to changesNed Deily2011-08-031-26/+15
| | | | in os.kill(). Original patch by Eli Bendersky.
* change the redundant svn scheme urljoin test case to svn+ssh scheme.Senthil Kumaran2011-08-031-1/+1
|
* merged headsSenthil Kumaran2011-08-031-2/+2
|\
| * Fix spacing in string literal.Georg Brandl2011-08-031-2/+2
| |
* | Fix closes issue12683 - urljoin to work with relative join of svn scheme.Senthil Kumaran2011-08-032-1/+4
|/
* Fix closes Issue12676 - Invalid identifier used in TypeError message in ↵Senthil Kumaran2011-08-022-1/+8
| | | | | | http.client. Reported by Popa Claudiu and Patch by Santoso Wijaya.
* Skip test_getsetlocale_issue1813() on Fedora due to setlocale() bug.Stefan Krah2011-08-011-0/+3
| | | | See: https://bugzilla.redhat.com/show_bug.cgi?id=726536
* Fix resource warning when looking at turtledemo’s help (#12295)Éric Araujo2011-08-011-2/+3
|
* Branch mergeÉric Araujo2011-08-013-32/+73
|\
| * Stop trying to write into the stdlib during lib2to3 tests (#12331).Éric Araujo2011-07-311-7/+11
| | | | | | | | | | This prevents tests from failing when run from a Python installed in a read-only directory.
| * Fix regression with distutils MANIFEST handing (#11104, #8688).Éric Araujo2011-07-312-25/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | using support.transient_internet helper method in the urllib2net test.Senthil Kumaran2011-07-311-10/+14
|/