summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue #12400: runtest() truncates the StringIO stream before a new testVictor Stinner2011-06-291-0/+1
|
* 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: 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: 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
* 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: remove unused variableVictor Stinner2011-06-291-5/+0
|
* Issue #12400: regrtest -W doesn't rerun the tests twice anymore, but capturesVictor Stinner2011-06-292-11/+29
| | | | | the output and displays it on failure instead. regrtest -v doesn't print the error twice anymore if there is only one error.
* Merge 3.2Ned Deily2011-06-294-26/+76
|\
| * Issue #9516: Update Misc/NEWS.Ned Deily2011-06-291-0/+11
| |
| * 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.
* | merge 3.1Benjamin Peterson2011-06-290-0/+0
|\ \ | |/ |/|
| * update profile license (closes #12417)Benjamin Peterson2011-06-272-49/+32
| |
* | Issue #12141: Install a copy of template C module file so thatNed Deily2011-06-283-2/+19
| | | | | | | | | | 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-289-26/+85
| | | | | | | | | | | | | | 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-282-4/+19
| | | | | | | | on Mac OS X. (Patch by Ronald Oussoren)
* | fix wsBenjamin Peterson2011-06-271-1/+1
| |
* | add more ast tests (closes #11302)Benjamin Peterson2011-06-271-0/+180
| | | | | | | | A patch from Vincent Legoll.
* | Fix closes Issue12385 - Clarify maketrans method docstring for bytes and ↵Senthil Kumaran2011-06-271-4/+4
| | | | | | | | bytearray object.
* | strip trailing wsBenjamin Peterson2011-06-272-6/+6
| |
* | merge headsBenjamin Peterson2011-06-271-1/+1
|\ \
| * | Fix closes issue 11568 - update select.epoll.register docstring with mention ↵Senthil Kumaran2011-06-271-1/+1
| | | | | | | | | | | | of correct behavior.
* | | update profile license (closes #12417)Benjamin Peterson2011-06-272-49/+32
|/ /
* | Issue #8890: Remove /tmp from examples.Raymond Hettinger2011-06-261-1/+1
| |
* | Issue #4608: urllib.request.urlopen does not return an iterable objectRaymond Hettinger2011-06-263-6/+12
| |
* | #11363: add missing functions from curses doc. Patch by Sandro Tosi.Ezio Melotti2011-06-261-0/+48
| |
* | #11363: clean up curses doc.Ezio Melotti2011-06-261-87/+87
| |
* | #11669: rephrase footnote in the Compound Statements page.Ezio Melotti2011-06-261-2/+3
| |
* | Use correct markup in zipimport.rst. Patch by Sara Magliacane.Ezio Melotti2011-06-251-3/+3
| |
* | Issue 11802: filecmp cache was growing without bound.Raymond Hettinger2011-06-251-5/+6
| |
* | Issue 12086: add example showing how to use name mangling.Raymond Hettinger2011-06-251-0/+22
| |
* | Issue 11889: Clarify docs for enumerate.Raymond Hettinger2011-06-251-8/+7
| |
* | Issue #12408: Fix relative import in test_future5.py. Thanks Cesare Di Mauro.Mark Dickinson2011-06-251-1/+1
| |
* | Merge #12228Mark Dickinson2011-06-251-2/+2
|\ \ | |/
| * Issue #12228: Fix exchanged flag descriptions in stat.rst. Thanks Sandro Tosi.Mark Dickinson2011-06-251-2/+2
| |
* | mergeRaymond Hettinger2011-06-251-2/+2
|\ \
| * | Fix typo (reported by Hiro Ashiya).Raymond Hettinger2011-06-251-2/+2
| | |
* | | #12341: add coverage files/dirs to .hgignore. Patch by Sandro Tosi.Ezio Melotti2011-06-253-0/+9
|/ /
* | Code simplification suggested by Sven Marnach.Raymond Hettinger2011-06-251-5/+3
| |
* | Issue 12404: Remove C89 incompatible code from mmap module.Ross Lagerwall2011-06-252-1/+5
| | | | | | | | Patch by Akira Kitada.
* | #10206: add test for previously fixed bug.R David Murray2011-06-242-0/+8
| | | | | | | | Patch by Francisco Martín Brugué.
* | #9921: clarify os.path.join joining algorithmR David Murray2011-06-241-4/+5
| | | | | | | | | | The new wording is based on the comments in the code, which match the actual behavior.
* | Issue #11223: skip also test_rlock_acquire_interruption() on FreeBSD6Victor Stinner2011-06-231-4/+7
| |
* | Issue #11223: skip test_lock_acquire_interruption() on FreeBSD6Victor Stinner2011-06-231-0/+5
| | | | | | | | | | | | Locks are implemented using a mutex and a condition variable of the pthread library on FreeBSD6. POSIX condition variables cannot be interrupted by signals (see pthread_cond_wait manual page).
* | Issue #12383: skip test_empty_env() of subprocess on WindowsVictor Stinner2011-06-221-0/+4
| | | | | | | | | | Cannot test an empty environment on Windows: Windows requires at least the SYSTEMROOT environment variable to start Python.
* | Issue #12383: fix test_empty_env() of subprocess on Mac OS XVictor Stinner2011-06-221-2/+6
| | | | | | | | | | | | Mac OS X adds __CF_USER_TEXT_ENCODING variable to an empty environment. Fix also the test on the Py_ENABLE_SHARED config varible: test that the variable is present, don't check it's value.
* | Issue #12383: skip test_empty_env() if compiled is compiled in shared modeVictor Stinner2011-06-211-2/+5
| | | | | | | | | | Try also to get more informations about the Mac OS X failure: display the keys of the environment, instead of just the number of variables.
* | Close #12383: Fix subprocess module with env={}: don't copy the environmentVictor Stinner2011-06-213-8/+20
| | | | | | | | variables, start with an empty environment.
* | fix indentationBenjamin Peterson2011-06-211-6/+6
| |