Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | test_os: remove now useless TemporaryFileTests testcase | Victor Stinner | 2011-07-01 | 1 | -111/+6 |
| | | | | | | | | TemporaryFileTests has tests for os.tempnam() and os.tmpfile(), functions removed from Python 3. Move fdopen() tests to the FileTests testcase to test fdopen() on a file descriptor, not on a directory descriptor (which raises an error on Windows). | ||||
* | libpython.py (gdb) now catchs IOError in py-list and py-bt commands | Victor Stinner | 2011-07-01 | 1 | -4/+18 |
| | | | | | py-list displays the error. py-bt ignores the error (the filename and line number is already displayed). | ||||
* | test_os: add TemporaryFileTests to the testcase list | Victor Stinner | 2011-07-01 | 1 | -0/+1 |
| | | | | The testcase was never executed, it's now fixed. | ||||
* | Issue #12407: Explicitly skip test_capi.EmbeddingTest under Windows. | Antoine Pitrou | 2011-06-30 | 2 | -0/+5 |
| | |||||
* | Issue #12451: Open files in binary mode in some tests when the text file is not | Victor Stinner | 2011-06-30 | 5 | -18/+16 |
| | | | | | | needed. Remove also an unused variable (blank) in test_threading. | ||||
* | Issue #12451: The XInclude default loader of xml.etree now decodes files from | Victor Stinner | 2011-06-30 | 2 | -4/+10 |
| | | | | | | UTF-8 instead of the locale encoding if the encoding is not specified. It now also opens XML files for the parser in binary mode instead of the text mode to avoid encoding issues. | ||||
* | Issue #12451: doctest.debug_script() doesn't create a temporary file anymore to | Victor Stinner | 2011-06-30 | 2 | -36/+26 |
| | | | | | | avoid encoding issues (it used the locale encoding, whereas UTF-8 should be). Remove also an unused import (warnings). | ||||
* | Issue #12451: pydoc.synopsis() now reads the encoding cookie if available, to | Victor Stinner | 2011-06-30 | 3 | -5/+20 |
| | | | | read the Python script from the right encoding. | ||||
* | Issue #12451: distutils now opens the setup script in binary mode to read the | Victor Stinner | 2011-06-30 | 2 | -5/+6 |
| | | | | encoding cookie, instead of opening it in UTF-8. | ||||
* | Issue #12400: regrtest.runtest() uses stream.seek(0) before .truncate() | Victor Stinner | 2011-06-29 | 1 | -3/+6 |
| | | | | .truncate(0) doesn't rewind. | ||||
* | Issue #12400: test_zipimport_support doesn't restore original sys.stdout | Victor Stinner | 2011-06-29 | 1 | -19/+12 |
| | | | | | | anymore regrtest doesn't check that a test doesn't output anything anymore. | ||||
* | Issue #12400: runtest() truncates the StringIO stream before a new test | Victor Stinner | 2011-06-29 | 1 | -0/+1 |
| | |||||
* | Issue #12400: Add missing import (os) to test_kqueue | Victor Stinner | 2011-06-29 | 1 | -2/+3 |
| | |||||
* | Issue #12400: test.support.run_doctest() doesn't change sys.stdout anymore | Victor Stinner | 2011-06-29 | 1 | -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 -W | Victor Stinner | 2011-06-29 | 1 | -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 calls | Victor Stinner | 2011-06-29 | 1 | -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 by | Victor Stinner | 2011-06-29 | 1 | -1/+4 |
| | | | | a io.StringIO object by regrtest (which has no file descriptor). | ||||
* | Issue #12400: remove unused variable | Victor Stinner | 2011-06-29 | 1 | -5/+0 |
| | |||||
* | Issue #12400: regrtest -W doesn't rerun the tests twice anymore, but captures | Victor Stinner | 2011-06-29 | 2 | -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.2 | Ned Deily | 2011-06-29 | 4 | -26/+76 |
|\ | |||||
| * | Issue #9516: Update Misc/NEWS. | Ned Deily | 2011-06-29 | 1 | -0/+11 |
| | | |||||
| * | Issue #9516: Change distutils to no longer globally attempt to check and | Ned Deily | 2011-06-29 | 2 | -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 distutils | Ned Deily | 2011-06-29 | 1 | -10/+37 |
| | | | | | | | | test_build_ext. | ||||
* | | merge 3.1 | Benjamin Peterson | 2011-06-29 | 0 | -0/+0 |
|\ \ | |/ |/| | |||||
| * | update profile license (closes #12417) | Benjamin Peterson | 2011-06-27 | 2 | -49/+32 |
| | | |||||
* | | Issue #12141: Install a copy of template C module file so that | Ned Deily | 2011-06-28 | 3 | -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() and | Ned Deily | 2011-06-28 | 9 | -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.9 | Ned Deily | 2011-06-28 | 2 | -4/+19 |
| | | | | | | | | on Mac OS X. (Patch by Ronald Oussoren) | ||||
* | | fix ws | Benjamin Peterson | 2011-06-27 | 1 | -1/+1 |
| | | |||||
* | | add more ast tests (closes #11302) | Benjamin Peterson | 2011-06-27 | 1 | -0/+180 |
| | | | | | | | | A patch from Vincent Legoll. | ||||
* | | Fix closes Issue12385 - Clarify maketrans method docstring for bytes and ↵ | Senthil Kumaran | 2011-06-27 | 1 | -4/+4 |
| | | | | | | | | bytearray object. | ||||
* | | strip trailing ws | Benjamin Peterson | 2011-06-27 | 2 | -6/+6 |
| | | |||||
* | | merge heads | Benjamin Peterson | 2011-06-27 | 1 | -1/+1 |
|\ \ | |||||
| * | | Fix closes issue 11568 - update select.epoll.register docstring with mention ↵ | Senthil Kumaran | 2011-06-27 | 1 | -1/+1 |
| | | | | | | | | | | | | of correct behavior. | ||||
* | | | update profile license (closes #12417) | Benjamin Peterson | 2011-06-27 | 2 | -49/+32 |
|/ / | |||||
* | | Issue #8890: Remove /tmp from examples. | Raymond Hettinger | 2011-06-26 | 1 | -1/+1 |
| | | |||||
* | | Issue #4608: urllib.request.urlopen does not return an iterable object | Raymond Hettinger | 2011-06-26 | 3 | -6/+12 |
| | | |||||
* | | #11363: add missing functions from curses doc. Patch by Sandro Tosi. | Ezio Melotti | 2011-06-26 | 1 | -0/+48 |
| | | |||||
* | | #11363: clean up curses doc. | Ezio Melotti | 2011-06-26 | 1 | -87/+87 |
| | | |||||
* | | #11669: rephrase footnote in the Compound Statements page. | Ezio Melotti | 2011-06-26 | 1 | -2/+3 |
| | | |||||
* | | Use correct markup in zipimport.rst. Patch by Sara Magliacane. | Ezio Melotti | 2011-06-25 | 1 | -3/+3 |
| | | |||||
* | | Issue 11802: filecmp cache was growing without bound. | Raymond Hettinger | 2011-06-25 | 1 | -5/+6 |
| | | |||||
* | | Issue 12086: add example showing how to use name mangling. | Raymond Hettinger | 2011-06-25 | 1 | -0/+22 |
| | | |||||
* | | Issue 11889: Clarify docs for enumerate. | Raymond Hettinger | 2011-06-25 | 1 | -8/+7 |
| | | |||||
* | | Issue #12408: Fix relative import in test_future5.py. Thanks Cesare Di Mauro. | Mark Dickinson | 2011-06-25 | 1 | -1/+1 |
| | | |||||
* | | Merge #12228 | Mark Dickinson | 2011-06-25 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Issue #12228: Fix exchanged flag descriptions in stat.rst. Thanks Sandro Tosi. | Mark Dickinson | 2011-06-25 | 1 | -2/+2 |
| | | |||||
* | | merge | Raymond Hettinger | 2011-06-25 | 1 | -2/+2 |
|\ \ | |||||
| * | | Fix typo (reported by Hiro Ashiya). | Raymond Hettinger | 2011-06-25 | 1 | -2/+2 |
| | | | |||||
* | | | #12341: add coverage files/dirs to .hgignore. Patch by Sandro Tosi. | Ezio Melotti | 2011-06-25 | 3 | -0/+9 |
|/ / |