summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #12656: Add tests for IPv6 and Unix sockets to test_asyncore.Charles-François Natali2011-08-241-46/+85
|
* Fix test_packaging on Windows (#12678).Éric Araujo2011-08-242-4/+16
| | | | See the distutils commit message for more detail.
* Merge distutils bug fix from 3.2Éric Araujo2011-08-233-23/+30
|\
| * 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
| | |
* | | Branch mergeÉric Araujo2011-08-232-19/+18
|\ \ \
| * | | Try to fix packaging tests using build_ext on Windows (#12678)Éric Araujo2011-08-232-19/+18
| | | |
* | | | Issue #11657: Fix sending file descriptors over 255 over a multiprocessing Pipe.Antoine Pitrou2011-08-232-2/+81
|\ \ \ \ | | |/ / | |/| | | | | | Also added some tests.
| * | | 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)
* | | Remove the SSLSocket versions of sendmsg/recvmsg due to lack of proper tests ↵Nick Coghlan2011-08-232-40/+0
| |/ |/| | | | | and documentation in conjunction with lack of any known use cases (see issue #6560 for details)
* | #6484: refactor a bit the tests.Ezio Melotti2011-08-221-52/+70
| |
* | #12191: fix build failures, explicitly passing group argument when I want to ↵Sandro Tosi2011-08-221-2/+2
| | | | | | | | test it
* | Merge indentation fix and skip decorator with 3.2.Ezio Melotti2011-08-221-24/+28
|\ \ | |/
| * Fix indentation and add a skip decorator.Ezio Melotti2011-08-221-24/+28
| |
* | #12191: add shutil.chown() to change user and/or group owner of a given path ↵Sandro Tosi2011-08-222-0/+90
| | | | | | | | also specifying their names.
* | #9200: merge with 3.2.Ezio Melotti2011-08-221-1/+157
|\ \ | |/
| * #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 deprecation warnings in test_socket.Nadeem Vawda2011-08-221-14/+14
| |
* | Fix #12811 by closing files promptly in tabnanny.check. Patch by Anthony Briggs.Nick Coghlan2011-08-221-0/+3
| |
* | Add unit tests for the mailcap module. Patch by Gregory Nofi (closes #6484)Nick Coghlan2011-08-222-0/+242
| |
* | Add support for the send/recvmsg API to the socket module. Patch by David ↵Nick Coghlan2011-08-223-0/+2160
| | | | | | | | Watson and Heiko Wundram. (Closes #6560)
* | Fix test_command_install_dist in shared Python buildsÉric Araujo2011-08-211-0/+1
| |
* | Factor out the build_ext fixup for shared Python builds.Éric Araujo2011-08-212-22/+29
| | | | | | | | I need this to fix the failing test_command_install_dist.
* | Remove obsolete codeÉric Araujo2011-08-211-2/+0
| |
* | Merge build_ext fix from 3.2Éric Araujo2011-08-213-25/+34
|\ \ | |/
| * 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.
* | Merge 3.2Éric Araujo2011-08-211-1/+2
|\ \ | |/
| * Add missing name in shutilÉric Araujo2011-08-211-1/+1
| |
* | Merge 3.2Éric Araujo2011-08-211-1/+1
|\ \ | |/
| * Add missing closing paren in docstring (thanks Ezio)Éric Araujo2011-08-211-1/+1
| |
* | Issue #12783: Fix test_posix failures on FreeBSD buildbots, due toCharles-François Natali2011-08-211-2/+8
| | | | | | | | | | sched_setparam() returning EINVAL for processes with SCHED_OTHER scheduling policy.
* | Issue #12326: refactor usage of sys.platformVictor Stinner2011-08-207-17/+10
| | | | | | | | | | | | | | | | * Use str.startswith(tuple): I didn't know this Python feature, Python rocks! * Replace sometimes sys.platform.startswith('linux') with sys.platform == 'linux' * sys.platform doesn't contain the major version on Cygwin on Mac OS X (it's just 'cygwin' and 'darwin')
* | #5301: merge with 3.2Sandro Tosi2011-08-201-0/+1
|\ \ | |/
| * #5301: add image/vnd.microsoft.icon (.ico) MIME typeSandro Tosi2011-08-201-0/+1
| |
* | Close #12326: sys.platform is now always 'linux' on LinuxVictor Stinner2011-08-2010-1083/+0
| | | | | | | | | | | | On Linux, sys.platform doesn't contain the major version anymore. It is now always 'linux', instead of 'linux2' or 'linux3' depending on the Linux version used to build Python.
* | Merge 3.2Éric Araujo2011-08-201-3/+3
|\ \ | |/
| * Branch mergeÉric Araujo2011-08-203-33/+90
| |\
| | * Dedent example in docstringÉric Araujo2011-08-201-3/+3
| | |
* | | Branch mergeÉric Araujo2011-08-209-86/+224
|\ \ \
| * | | Fix sdist test on Windows (#12678). Patch by Jeremy Kloth.Éric Araujo2011-08-201-0/+1
| | | |
| * | | Add a simple test for the packaging RECORD file.Éric Araujo2011-08-201-1/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The existing test_record is not easily extendable to add script files or extension modules: it collects all files from fake_dists and generates a RECORD file at runtime. I felt more comfortable adding a new test written from scratch more self-contained (just one project with well-defined files) and more stupid (the checksums and sizes are computed once and hard-coded).
| * | | Minor cleanupÉric Araujo2011-08-202-12/+7
| | | | | | | | | | | | | | | | | | | | | | | | - Rename an attribute and create it in initialize_options instead of finalize_options to match the other install_* classes - Remove unnecessary method call in tests
| * | | Add a test for extension modules in the old-style record fileÉric Araujo2011-08-201-1/+24
| | | |
| * | | Rework test_old_record a bit to make the test more exactÉric Araujo2011-08-201-13/+13
| | | | | | | | | | | | | | | | (i.e. to check the files found are what we expect)
| * | | Refactor the copying of xxmodule.c in packaging tests (#12141).Éric Araujo2011-08-202-27/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I need to copy this file in another test too, so I moved the support code to distutils.tests.support and improved it to use proper skip machinery instead of custom print/return/test suite fiddling. Contrary to my similar change in distutils tests, I did not add support for finding xxmodule.c when running a test from the tests directory, because in that case my compiler didn’t find Python.h, so I figured it’s better to skip than to fail.
| * | | Merge 3.2Éric Araujo2011-08-203-33/+90
| |\ \ \ | | | |/ | | |/|