summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Make bdist_* commands respect --skip-build passed to bdist (#10946)Éric Araujo2011-08-294-25/+40
|
* 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.
* 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
|
* 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
|
* 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.
* 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 #9651: Fix a crash when ctypes.create_string_buffer(0) was passed toAmaury Forgeot d'Arc2011-08-301-0/+4
| | | | some functions like file.write().
* Make regrtest complain when -M and -j are used together.Nadeem Vawda2011-08-271-0/+2
| | | | | | | -j doesn't pass the memlimit on to child processes, so this doesn't work at present, and even if it did, running multiple bigmem tests at once would usually not be desirable (since you generally want to devote as much of the available RAM as possible to each test).
* A warning doesn't equate a failed testAntoine Pitrou2011-08-231-1/+0
| | | | (this broken -F with e.g. test_multiprocessing)
* Add missing name in shutilÉric Araujo2011-08-211-1/+1
|
* #5301: add image/vnd.microsoft.icon (.ico) MIME typeSandro Tosi2011-08-201-0/+1
|
* Merge with cpython.Georg Brandl2011-08-132-2/+12
|\
| * Fix #11513: wrong exception handling for the case that GzipFile itself ↵Georg Brandl2011-08-132-2/+12
| | | | | | | | raises an IOError.
* | Bump version to 3.2.2rc1.Georg Brandl2011-08-132-2/+2
| |
* | Update pydoc topics and suspicious ignore.Georg Brandl2011-08-131-5/+5
|/
* 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
|/
* Issue #12626: In regrtest, allow to filter tests using a glob filterAntoine Pitrou2011-07-292-6/+32
| | | | | | 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.
* Issue #12464: tempfile.TemporaryDirectory.cleanup() should not follow symlinks:Charles-François Natali2011-07-292-1/+23
| | | | fix it. Patch by Petri Lehtinen.
* Make “pydoc somebuiltin.somemethod” work (#8887)Éric Araujo2011-07-292-6/+25
|
* Branch mergeÉric Araujo2011-07-293-30/+13
|\
| * Branch mergeÉric Araujo2011-07-289-14/+94
| |\
| | * Merge profile docs followup (#12417) from 3.1Éric Araujo2011-07-281-4/+0
| | |\
| | | * Remove mentions of previous license in profile module docs (#12417 followup).Éric Araujo2011-07-281-4/+0
| | | | | | | | | | | | | | | | Also remove an extra docstring.
| * | | Remove duplicates of cmp_to_key (#12542, reviewed by Raymond Hettinger)Éric Araujo2011-07-262-26/+13
| | | |
* | | | Issue 12514: Use try/finally to assure that timeit restores GC when done.Raymond Hettinger2011-07-291-3/+5
| | | |
* | | | Fix closes Issue11439 Remove the SVN keywords from the code as it is no ↵Senthil Kumaran2011-07-2849-98/+2
| | | | | | | | | | | | | | | | longer applicable in hg. Patch Contributed by Neil Muller.
* | | | Issue #11871: In test_threading.BarrierTests, bump the default barrier timeoutCharles-François Natali2011-07-271-3/+3
| | | | | | | | | | | | | | | | to avoid timing-dependent failures.
* | | | Issue #12603: Fix pydoc.synopsis() on files with non-negative st_mtime.Charles-François Natali2011-07-271-2/+2
| |/ / |/| |