summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* (merge 3.2) Issue #12451: distutils now opens the setup script in binary modeVictor Stinner2011-06-301-5/+3
|\ | | | | | | to read the encoding cookie, instead of opening it in UTF-8.
| * Issue #12451: distutils now opens the setup script in binary mode to read theVictor Stinner2011-06-301-5/+3
| | | | | | | | encoding cookie, instead of opening it in UTF-8.
* | Issue #12400: test_cprofile now restores correctly the previous sys.stderrVictor Stinner2011-06-291-10/+13
| | | | | | | | Copy sys.stderr before replacing it, instead of using sys.__stderr__
* | Issue #12400: test_faulthandler now uses sys.__stderr__Victor Stinner2011-06-291-5/+1
| | | | | | | | instead of open(os.devnull, 'w')
* | (merge 3.2) Issue #12400: regrtest.runtest() uses stream.seek(0) before ↵Victor Stinner2011-06-291-3/+6
|\ \ | |/ | | | | | | | | .truncate() .truncate(0) doesn't rewind.
| * Issue #12400: regrtest.runtest() uses stream.seek(0) before .truncate()Victor Stinner2011-06-291-3/+6
| | | | | | | | .truncate(0) doesn't rewind.
* | (merge 3.2) Issue #12400: test_zipimport_support doesn't restore originalVictor Stinner2011-06-291-19/+12
|\ \ | |/ | | | | | | | | sys.stdout anymore regrtest doesn't check that a test doesn't output anything anymore.
| * Issue #12400: test_zipimport_support doesn't restore original sys.stdoutVictor Stinner2011-06-291-19/+12
| | | | | | | | | | | | anymore regrtest doesn't check that a test doesn't output anything anymore.
* | (merge 3.2) Issue #12400: runtest() truncates the StringIO stream before a newVictor Stinner2011-06-291-0/+1
|\ \ | |/ | | | | test
| * Issue #12400: runtest() truncates the StringIO stream before a new testVictor Stinner2011-06-291-0/+1
| |
* | (merge 3.2) Issue #12400: Add missing import (os) to test_kqueueVictor Stinner2011-06-291-2/+3
|\ \ | |/
| * Issue #12400: Add missing import (os) to test_kqueueVictor Stinner2011-06-291-2/+3
| |
* | Issue #12400: test.support.run_doctest() doesn't change sys.stdout anymoreVictor Stinner2011-06-291-10/+3
|\ \ | |/ | | | | | | | | | | regrtest doesn't check that tests doesn't write something to stdout anymore. Don't replace sys.stdout by the original sys.stdout to be able to capture the output for regrtest -W.
| * Issue #12400: test.support.run_doctest() doesn't change sys.stdout anymoreVictor Stinner2011-06-291-10/+3
| | | | | | | | | | | | | | regrtest doesn't check that tests doesn't write something to stdout anymore. Don't replace sys.stdout by the original sys.stdout to be able to capture the output for regrtest -W.
* | (merge 3.2) Issue #12400: regrtest, force verbose mode to True with option -WVictor Stinner2011-06-291-7/+10
|\ \ | |/ | | | | If verbose is False, the output is empty. Fix also a typo in a variable name.
| * Issue #12400: regrtest, force verbose mode to True with option -WVictor Stinner2011-06-291-7/+10
| | | | | | | | If verbose is False, the output is empty. Fix also a typo in a variable name.
* | (merge 3.2) Issue #12400: runtest() reuses the same io.StringIO instance forVictor Stinner2011-06-291-24/+34
|\ \ | |/ | | | | | | | | | | all calls * Don't force verbose to True with option -W * Rename rerun_failed variable to output_on_failure
| * Issue #12400: runtest() reuses the same io.StringIO instance for all callsVictor Stinner2011-06-291-24/+33
| | | | | | | | | | * Don't force verbose to True with option -W * Rename rerun_failed variable to output_on_failure
* | (merge 3.2) Issue #12400: don't use sys.stderr in test_kqueue because it may beVictor Stinner2011-06-291-1/+4
|\ \ | |/ | | | | replaced by a io.StringIO object by regrtest (which has no file descriptor).
| * Issue #12400: don't use sys.stderr in test_kqueue because it may be replaced byVictor Stinner2011-06-291-1/+4
| | | | | | | | a io.StringIO object by regrtest (which has no file descriptor).
* | Issue #12400: fix test_faulthandler if regrtest captures sys.stderrVictor Stinner2011-06-291-8/+22
| | | | | | | | faulthandler.enable() requires that sys.stderr has a fileno() method.
* | (merge 3.2) Issue #12400: remove unused importVictor Stinner2011-06-291-1/+0
|\ \ | |/
| * Issue #12400: remove unused variableVictor Stinner2011-06-291-5/+0
| |
* | Issue #12400: oops, remove debug code...Victor Stinner2011-06-291-1/+0
| |
* | (merge 3.2) Issue #12400: regrtest -W doesn't rerun the tests twice anymore,Victor Stinner2011-06-292-11/+26
|\ \ | |/ | | | | | | but captures the output and displays it on failure instead. regrtest -v doesn't print the error twice anymore if there is only one error.
| * Issue #12400: regrtest -W doesn't rerun the tests twice anymore, but capturesVictor Stinner2011-06-291-11/+25
| | | | | | | | | | the output and displays it on failure instead. regrtest -v doesn't print the error twice anymore if there is only one error.
* | Issue #12303: run sig*wait*() tests in a subprocesssVictor Stinner2011-06-291-56/+81
| | | | | | | | | | | | | | ... instead of using fork(): sig*wait*() functions behave differently (not correctly) after a fork, especially on FreeBSD 6. Skip also test_sigtimedwait_poll() on FreeBSD 6 because of a kernel bug.
* | Issue #9516: Port the revised deployment target processing for OSX fromNed Deily2011-06-291-0/+23
| | | | | | | | distutils to packaging.
* | Issue #9516: Port OS X deployment target tests from distutils to packagingNed Deily2011-06-291-1/+92
| | | | | | | | test_command_build_ext.
* | Issue #9516: Merge Distutils changes from 3.2Ned Deily2011-06-293-26/+65
|\ \ | |/
| * Issue #9516: Change distutils to no longer globally attempt to check andNed Deily2011-06-292-16/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | set the MACOSX_DEPLOYMENT_TARGET env variable for the interpreter process on OS X. This could cause failures in non-distutils subprocesses and was unreliable since tests or user programs could modify the interpreter environment after distutils set it. Instead, have distutils set the the deployment target only in the environment of each build subprocess. Continue to use the previous algorithm for deriving the deployment target value: if MACOSX_DEPLOYMENT_TARGET is not set in the interpreter's env: use the interpreter build configure MACOSX_DEPLOYMENT_TARGET elif the MACOSX_DEPLOYMENT_TARGET env value >= configure value: use the env MACOSX_DEPLOYMENT_TARGET else: # env value less than interpreter build configure value raise exception This allows building extensions that can only run on newer versions of the OS than the version python was built for, for example with a python built for 10.3 or later and an extension that needs to be built for 10.5.
| * Issue #9516: Correct and expand OS X deployment target tests in distutilsNed Deily2011-06-291-10/+37
| | | | | | | | test_build_ext.
* | remove unused imports (closes #12432)Benjamin Peterson2011-06-287-6/+2
| | | | | | | | A patch from Vincent Legoll.
* | Issue #12141: Install copies of template C module file so thatNed Deily2011-06-282-0/+10
|\ \ | |/ | | | | | | | | test_build_ext of test_distutils and test_command_build_ext of test_packaging are no longer silently skipped when run outside of a build directory.
| * Issue #12141: Install a copy of template C module file so thatNed Deily2011-06-281-1/+10
| | | | | | | | | | test_build_ext of test_distutils is no longer silently skipped when run outside of a build directory.
* | Issue #8746: Correct faulty configure checks so that os.chflags() andNed Deily2011-06-282-12/+49
|\ \ | |/ | | | | | | | | | | os.lchflags() are once again built on systems that support these functions (*BSD and OS X). Also add new stat file flags for OS X (UF_HIDDEN and UF_COMPRESSED). Also add additional tests for os.chflags() and os.lchflags(). (Tests by Garrett Cooper)
| * Issue #8746: Correct faulty configure checks so that os.chflags() andNed Deily2011-06-282-12/+49
| | | | | | | | | | | | | | os.lchflags() are once again built on systems that support these functions (*BSD and OS X). Also add new stat file flags for OS X (UF_HIDDEN and UF_COMPRESSED). Also add additional tests for os.chflags() and os.lchflags(). (Tests by Garrett Cooper)
* | Issue #10736: Fix test_ttk test_widgets failures with Cocoa Tk 8.5.9Ned Deily2011-06-281-4/+16
|\ \ | |/ | | | | 2.8 + on Mac OS X. (Patch by Ronald Oussoren)
| * Issue #10736: Fix test_ttk test_widgets failures with Cocoa Tk 8.5.9Ned Deily2011-06-281-4/+16
| | | | | | | | on Mac OS X. (Patch by Ronald Oussoren)
* | merge 3.2Benjamin Peterson2011-06-271-1/+1
|\ \ | |/
| * fix wsBenjamin Peterson2011-06-271-1/+1
| |
* | merge 3.2 (#11302)Benjamin Peterson2011-06-271-0/+180
|\ \ | |/
| * add more ast tests (closes #11302)Benjamin Peterson2011-06-271-0/+180
| | | | | | | | A patch from Vincent Legoll.
* | don't memoize objects that are their own copies (closes #12422)Benjamin Peterson2011-06-272-7/+24
| | | | | | | | Patch mostly by Alex Gaynor.
* | Closes #12419: Added ident to SysLogHandler.Vinay Sajip2011-06-272-0/+8
| |
* | merge 3.2Benjamin Peterson2011-06-272-6/+6
|\ \ | |/
| * strip trailing wsBenjamin Peterson2011-06-272-6/+6
| |
* | merge headsBenjamin Peterson2011-06-272-2/+28
|\ \
| * | Issue 12139: add CCC command support to FTP_TLS class to revert the SSL ↵Giampaolo Rodola'2011-06-272-2/+28
| | | | | | | | | | | | connection back to clear-text.
* | | merge 3.2 (#12417)Benjamin Peterson2011-06-272-49/+32
|\ \ \ | |/ / |/| / | |/