Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | (merge 3.2) Issue #12400: regrtest -W doesn't rerun the tests twice anymore, | Victor Stinner | 2011-06-29 | 2 | -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 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 #12303: run sig*wait*() tests in a subprocesss | Victor Stinner | 2011-06-29 | 1 | -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 #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) | ||||
| * | 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) | ||||
* | | merge 3.2 | Benjamin Peterson | 2011-06-27 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | fix ws | Benjamin Peterson | 2011-06-27 | 1 | -1/+1 |
| | | |||||
* | | merge 3.2 (#11302) | Benjamin Peterson | 2011-06-27 | 1 | -0/+180 |
|\ \ | |/ | |||||
| * | add more ast tests (closes #11302) | Benjamin Peterson | 2011-06-27 | 1 | -0/+180 |
| | | | | | | | | A patch from Vincent Legoll. | ||||
* | | don't memoize objects that are their own copies (closes #12422) | Benjamin Peterson | 2011-06-27 | 1 | -2/+17 |
| | | | | | | | | Patch mostly by Alex Gaynor. | ||||
* | | Closes #12419: Added ident to SysLogHandler. | Vinay Sajip | 2011-06-27 | 1 | -0/+5 |
| | | |||||
* | | Issue 12139: add CCC command support to FTP_TLS class to revert the SSL ↵ | Giampaolo Rodola' | 2011-06-27 | 1 | -2/+20 |
| | | | | | | | | connection back to clear-text. | ||||
* | | Issue #4608: urllib.request.urlopen does not return an iterable object | Raymond Hettinger | 2011-06-26 | 1 | -2/+3 |
|\ \ | |/ | |||||
| * | Issue #4608: urllib.request.urlopen does not return an iterable object | Raymond Hettinger | 2011-06-26 | 1 | -2/+3 |
| | | |||||
* | | map cells to arg slots at code creation time (closes #12399) | Benjamin Peterson | 2011-06-26 | 1 | -1/+1 |
| | | | | | | | | This removes nested loops in PyEval_EvalCodeEx. | ||||
* | | Issue 11758: increase xml.dom.minidom test coverage (contributed by mdorn, ↵ | Raymond Hettinger | 2011-06-25 | 1 | -2/+40 |
| | | | | | | | | reviewed by Sandro Tosi). | ||||
* | | Fix test_signal on Windows after #12303. | Ross Lagerwall | 2011-06-25 | 1 | -6/+6 |
| | | |||||
* | | Issue #12408: Merge. | Mark Dickinson | 2011-06-25 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #12408: Fix relative import in test_future5.py. Thanks Cesare Di Mauro. | Mark Dickinson | 2011-06-25 | 1 | -1/+1 |
| | | |||||
* | | Issue #12303: Add sigwaitinfo() and sigtimedwait() to the signal module. | Ross Lagerwall | 2011-06-25 | 1 | -16/+83 |
| | | |||||
* | | Issue #12392: fix thread initialization on FreeBSD 6 | Victor Stinner | 2011-06-24 | 1 | -0/+25 |
| | | | | | | | | | | | | | | | | On FreeBSD6, pthread_kill() doesn't work on the main thread before the creation of the first thread. Create therefore a dummy thread (no-op) a startup to initialize the pthread library. Add also a test for this use case, test written by Charles-François Natali. | ||||
* | | Merge #10206: add test for previously fixed bug. | R David Murray | 2011-06-24 | 1 | -0/+7 |
|\ \ | |/ | |||||
| * | #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). | ||||
* | | give the names of missing positional or keyword-only arguments (closes #12356) | Benjamin Peterson | 2011-06-24 | 1 | -59/+48 |
| | | |||||
* | | (merge 3.2) 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: 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 #12363: improve siginterrupt() tests | Victor Stinner | 2011-06-22 | 1 | -0/+7 |
| | | | | | | | | | | Add a basic synchronization code between the child and the parent processes: the child writes "ready" to stdout. | ||||
* | | (merge 3.2) 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: 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. | ||||
* | | #1874: detect invalid multipart CTE and report it as a defect. | R David Murray | 2011-06-22 | 1 | -0/+45 |
| | | |||||
* | | (merge 3.2) Issue #12383: skip test_empty_env() if compiled is compiled in | Victor Stinner | 2011-06-21 | 1 | -2/+5 |
|\ \ | |/ | | | | | | | | | | | shared mode 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. | ||||
| * | 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. | ||||
* | | (merge 3.2) Close #12383: Fix subprocess module with env={}: don't copy the | Victor Stinner | 2011-06-21 | 1 | -7/+16 |
|\ \ | |/ | | | | | environment variables, start with an empty environment. | ||||
| * | 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. | ||||
* | | Close #12363: fix a race condition in siginterrupt() tests | Victor Stinner | 2011-06-20 | 1 | -74/+50 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | | (merge 3.2) Issue #12285: multiprocessing.Pool() raises a ValueError if the | Victor Stinner | 2011-06-20 | 1 | -0/+3 |
|\ \ | |/ | | | | | number of processes if negative or null. | ||||
| * | Issue #12285: multiprocessing.Pool() raises a ValueError if the number of | Victor Stinner | 2011-06-20 | 1 | -0/+3 |
| | | | | | | | | processes if negative or null. | ||||
* | | use a invalid name for the __class__ closure for super() (closes #12370) | Benjamin Peterson | 2011-06-20 | 1 | -0/+10 |
| | | | | | | | | | | This prevents the assignment of __class__ in the class body from breaking super. (Although a determined person could do locals()["@__class__"] = 4) | ||||
* | | merge 3.2 | Benjamin Peterson | 2011-06-19 | 1 | -7/+7 |
|\ \ | |/ | |||||
| * | fix uglyNamingConvention | Benjamin Peterson | 2011-06-19 | 1 | -7/+7 |
| | | |||||
* | | merge #11584: make Header and make_header handle binary unknown-8bit input | R David Murray | 2011-06-18 | 1 | -0/+15 |
|\ \ | |/ | |||||
* | | merge #11584: make decode_header handle Header objects correctly | R David Murray | 2011-06-18 | 1 | -2/+2 |
|\ \ | |/ | | | | | | | This updates 12e39cd7a0e4 (merge of b21fdfa0019c), which fixed this bug incorrectly. | ||||
* | | merge #11700: proxy object close methods can now be called multiple times | R David Murray | 2011-06-18 | 1 | -1/+12 |
|\ \ | |/ | |||||
| * | #11700: proxy object close methods can now be called multiple times | R David Murray | 2011-06-18 | 1 | -1/+12 |
| | | | | | | | | This makes them work like the close provided by regular file objects. | ||||
* | | merge #11767: use context manager to close file in __getitem__ to prevent FD ↵ | R David Murray | 2011-06-17 | 1 | -1/+32 |
|\ \ | |/ | | | | | leak | ||||
| * | #11767: use context manager to close file in __getitem__ to prevent FD leak | R David Murray | 2011-06-17 | 1 | -1/+32 |
| | | | | | | | | | | | | | | | | All of the other methods in mailbox that create message objects take care to close the file descriptors they use, so it seems to make sense to have __getitem__ do so as well. Patch by Filip Gruszczyński. | ||||
* | | (Merge 3.2) Issue #10883: test_urllib2net closes socket explicitly | Victor Stinner | 2011-06-17 | 1 | -0/+8 |
|\ \ | |/ | |||||
| * | Issue #10883: test_urllib2net closes socket explicitly | Victor Stinner | 2011-06-17 | 1 | -0/+8 |
| | |