Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #12440: When testing whether some bits in SSLContext.options can be | Antoine Pitrou | 2011-07-08 | 1 | -1/+1 |
| | | | | | reset, check the version of the OpenSSL headers Python was compiled against, rather than the runtime version of the OpenSSL library. | ||||
* | Issue #12493: skip test_communicate_eintr() if signal.SIGALRM is missing | Victor Stinner | 2011-07-05 | 1 | -0/+2 |
| | |||||
* | Issue #12493: subprocess: communicate() handles EINTR | Victor Stinner | 2011-07-05 | 1 | -0/+16 |
| | | | | | subprocess.Popen.communicate() now also handles EINTR errors if the process has only one pipe. | ||||
* | Issue #12497: Install test/data to prevent failures of the various codecmaps | Ned Deily | 2011-07-05 | 1 | -1/+1 |
| | | | | tests. | ||||
* | Issue #12469: Run "wakeup" signal tests in subprocess to run the test in a | Victor Stinner | 2011-07-04 | 1 | -37/+68 |
| | | | | | fresh process with only one thread and to not change signal handling of the parent process. | ||||
* | Issue #12429: Skip interrupted write tests on FreeBSD <= 7 | Victor Stinner | 2011-07-04 | 1 | -0/+2 |
| | | | | On FreeBSD, the SIGALRM signal is sometimes received by the reader thread. | ||||
* | Issue #8716: Avoid crashes caused by Aqua Tk on OSX when attempting to run | Ned Deily | 2011-07-04 | 2 | -8/+8 |
| | | | | | test_tk or test_ttk_guionly under a username that is not currently logged in to the console windowserver (as may be the case under buildbot or ssh). | ||||
* | Fix closes issue12471 - wrong TypeError message when '%i' format spec was used. | Senthil Kumaran | 2011-07-04 | 1 | -0/+1 |
| | |||||
* | Fix closes issue issue12470 - check for utime for the skipUnless condition. | Senthil Kumaran | 2011-07-04 | 1 | -1/+1 |
| | |||||
* | Issue #12467: warnings: fix a race condition if a warning is emitted at | Victor Stinner | 2011-07-04 | 1 | -0/+12 |
| | | | | shutdown, if globals()['__file__'] is None. | ||||
* | Issue #12451: runpy: run_path() now opens the Python script in binary mode, | Victor Stinner | 2011-07-03 | 1 | -0/+10 |
| | | | | | instead of text mode using the locale encoding, to support other encodings than UTF-8 (scripts using the coding cookie). | ||||
* | never retain a generator's caller's exception state on the generator after a ↵ | Benjamin Peterson | 2011-07-03 | 1 | -0/+12 |
| | | | | | | | yield/return This requires some trickery to properly save the exception state if the generator creates its own exception state. | ||||
* | merge heads | Benjamin Peterson | 2011-07-03 | 2 | -1/+134 |
|\ | |||||
| * | #12147: make send_message correctly handle Sender and Resent- headers. | R David Murray | 2011-07-03 | 1 | -1/+110 |
| | | | | | | | | | | Original patch by Nicolas Estibals. My tweaks to the patch were mostly style/cosmetic, and adding more tests. | ||||
| * | Closes #12291: Fixed bug which was found when doing multiple loads from one ↵ | Vinay Sajip | 2011-07-02 | 1 | -0/+24 |
| | | | | | | | | stream. | ||||
* | | restore a generator's caller's exception state both on yield and (last) return | Benjamin Peterson | 2011-07-03 | 1 | -0/+15 |
|/ | | | | | | This prevents generator exception state from leaking into the caller. Closes #12475. | ||||
* | Merge issue #12352: Fix a deadlock in multiprocessing.Heap when a block is | Charles-François Natali | 2011-07-02 | 1 | -0/+24 |
|\ | | | | | | | freed by the garbage collector while the Heap lock is held. | ||||
| * | Issue #12352: Fix a deadlock in multiprocessing.Heap when a block is freed by | Charles-François Natali | 2011-07-02 | 1 | -0/+24 |
| | | | | | | | | the garbage collector while the Heap lock is held. | ||||
* | | #11873: another try at fixing the regex, courtesy of Victor Stinner | R David Murray | 2011-07-01 | 1 | -1/+1 |
| | | |||||
* | | #11873: fix test regex so it covers windows os.sep as well. | R David Murray | 2011-07-01 | 1 | -1/+1 |
| | | |||||
* | | Issue #12363: increase the timeout of siginterrupt() tests | Victor Stinner | 2011-07-01 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | Move also the "ready" trigger after the installation of the signal handler and the call to siginterrupt(). Use a timeout of 5 seconds instead of 3. Two seconds are supposed to be enough, but some of our buildbots are really slow (especially the FreeBSD 6 VM). | ||||
* | | Issue #12363: improve siginterrupt() tests | Victor Stinner | 2011-07-01 | 1 | -89/+86 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backport commits 968b9ff9a059 and aff0a7b0cb12 from the default branch to 3.2 branch. Extract of the changelog messages: "The previous tests used time.sleep() to synchronize two processes. If the host was too slow, the test could fail. The new tests only use one process, but they use a subprocess to: - have only one thread - have a timeout on the blocking read (select cannot be used in the test, select always fail with EINTR, the kernel doesn't restart it) - not touch signal handling of the parent process" and "Add a basic synchronization code between the child and the parent processes: the child writes "ready" to stdout." I replaced .communicate(timeout=3.0) by an explicit waiting loop using Popen.poll(). | ||||
* | | Issue #11870: Skip test_threading.test_2_join_in_forked_process() on platforms | Victor Stinner | 2011-07-01 | 1 | -14/+11 |
| | | | | | | | | | | | | | | with known OS bugs Share the list of platforms with known OS bugs with other tests. Patch written by Charles-François Natali. | ||||
* | | 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). | ||||
* | | 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 | 1 | -0/+3 |
| | | |||||
* | | 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: pydoc.synopsis() now reads the encoding cookie if available, to | Victor Stinner | 2011-06-30 | 1 | -1/+12 |
| | | | | | | | | read the Python script from the right encoding. | ||||
* | | 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 | 1 | -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 #8746: Correct faulty configure checks so that os.chflags() and | Ned Deily | 2011-06-28 | 1 | -12/+47 |
| | | | | | | | | | | | | | | 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) | ||||
* | | 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. | ||||
* | | Issue #4608: urllib.request.urlopen does not return an iterable object | Raymond Hettinger | 2011-06-26 | 1 | -2/+3 |
| | | |||||
* | | Issue #12408: Fix relative import in test_future5.py. Thanks Cesare Di Mauro. | Mark Dickinson | 2011-06-25 | 1 | -1/+1 |
| | | |||||
* | | #10206: add test for previously fixed bug. | R David Murray | 2011-06-24 | 1 | -0/+7 |
| | | | | | | | | Patch by Francisco Martín Brugué. | ||||
* | | Issue #11223: skip also test_rlock_acquire_interruption() on FreeBSD6 | Victor Stinner | 2011-06-23 | 1 | -4/+7 |
| | | |||||
* | | Issue #11223: skip test_lock_acquire_interruption() on FreeBSD6 | Victor Stinner | 2011-06-23 | 1 | -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 Windows | Victor Stinner | 2011-06-22 | 1 | -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 X | Victor Stinner | 2011-06-22 | 1 | -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 mode | Victor Stinner | 2011-06-21 | 1 | -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 environment | Victor Stinner | 2011-06-21 | 1 | -7/+16 |
| | | | | | | | | variables, start with an empty environment. |