summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix #19546: onfigparser exceptions expose implementation details. Patch by ↵Łukasz Langa2014-09-043-6/+62
| | | | Claudiu Popa.
* NEWS items for Idle.Terry Jan Reedy2014-09-031-1/+7
|\
| * NEWS items for Idle.Terry Jan Reedy2014-09-031-2/+8
| |
* | merge with 3.4Terry Jan Reedy2014-09-031-0/+16
|\ \ | |/
| * NEWS items for turtledemo.Terry Jan Reedy2014-09-031-0/+16
| |
* | Merge with 3.4Terry Jan Reedy2014-09-031-2/+0
|\ \ | |/
| * Issue #22051: remove unneeded reload that allowed bad code.Terry Jan Reedy2014-09-031-2/+0
| |
* | Fix timeout in test.fork_waitVictor Stinner2014-09-031-1/+1
| |
* | (Merge 3.4) Issue #21440: test_zipfile: replace last direct calls toVictor Stinner2014-09-031-5/+5
|\ \ | |/ | | | | os.remove() with support.unlink()
| * Issue #21440: test_zipfile: replace last direct calls to os.remove() withVictor Stinner2014-09-031-5/+5
| | | | | | | | support.unlink()
| * Issue #21440: Backport changeset 4ebf97299b18 to branch 3.4, useVictor Stinner2014-09-032-32/+30
| | | | | | | | support.rmtree() and support.unlink() in test_zipfile & test_tarfile
* | (Merge 3.4) Issue #20957: test_smtpnet now uses support.transient_internet() toVictor Stinner2014-09-031-2/+5
|\ \ | |/ | | | | | | call check_ssl_verifiy(), so only test_connect_using_sslcontext_verified() is skipped if smtp.gmail.com cannot be joined, not the whole file.
| * Issue #20957: test_smtpnet now uses support.transient_internet() to callVictor Stinner2014-09-031-2/+5
| | | | | | | | | | check_ssl_verifiy(), so only test_connect_using_sslcontext_verified() is skipped if smtp.gmail.com cannot be joined, not the whole file.
* | (Merge 3.4) Issue #22332: test_multiprocessing_main_handling is now skipped ifVictor Stinner2014-09-031-0/+3
|\ \ | |/ | | | | sem_open implementation is broken (ex: skipped on FreeBSD 6.4).
| * Issue #22332: test_multiprocessing_main_handling is now skipped if sem_openVictor Stinner2014-09-031-0/+3
| | | | | | | | implementation is broken (ex: skipped on FreeBSD 6.4).
* | (Merge 3.4) Issue #22331: Skip test_interrupted_write_text() on FreeBSD olderVictor Stinner2014-09-031-0/+2
|\ \ | |/ | | | | than 8.0
| * Issue #22331: Skip test_interrupted_write_text() on FreeBSD older than 8.0Victor Stinner2014-09-031-0/+2
| |
* | Issue #21933: Merge with 3.4Terry Jan Reedy2014-09-031-22/+71
|\ \ | |/
| * Issue #21933: Users can now change the font size for example code.Terry Jan Reedy2014-09-031-22/+71
| | | | | | | | Original patch by Lita Cho.
* | Issue #22043: Fix pymonotonic(), use tv_usec=-1 as a marker to skipVictor Stinner2014-09-031-2/+3
| | | | | | | | the monotonic test
* | Issue #22043: time.monotonic() is now always availableVictor Stinner2014-09-0217-176/+226
| | | | | | | | | | threading.Lock.acquire(), threading.RLock.acquire() and socket operations now use a monotonic clock, instead of the system clock, when a timeout is used.
* | Issue #22043: Fix _PyTime_gettimeofday() if HAVE_GETTIMEOFDAYVictor Stinner2014-09-021-5/+2
| | | | | | | | Ensure also that the tv_usec field is consistent: in range [0; 999999].
* | pytime.h: remove duplicated "#ifndef Py_LIMITED_API"Victor Stinner2014-08-311-3/+0
| |
* | Closes #21527: Add default number of workers to ThreadPoolExecutor. (Claudiu ↵Guido van Rossum2014-09-024-2/+24
| | | | | | | | Popa.)
* | (Merge 3.4) Closes #22258: Fix the the internal function set_inheritable() onVictor Stinner2014-09-022-14/+39
|\ \ | |/ | | | | | | | | Illumos. This platform exposes the function ioctl(FIOCLEX), but calling it fails with errno is ENOTTY: "Inappropriate ioctl for device". set_inheritable() now falls back to the slower fcntl() (F_GETFD and then F_SETFD).
| * Closes #22258: Fix the the internal function set_inheritable() on Illumos.Victor Stinner2014-09-022-14/+39
| | | | | | | | | | | | This platform exposes the function ioctl(FIOCLEX), but calling it fails with errno is ENOTTY: "Inappropriate ioctl for device". set_inheritable() now falls back to the slower fcntl() (F_GETFD and then F_SETFD).
* | sigma actually works in latex...Benjamin Peterson2014-09-011-3/+3
| |
* | try to pick a unicode char that latex understandsBenjamin Peterson2014-09-011-1/+1
| |
* | a more universal unicode char exampleBenjamin Peterson2014-09-011-2/+1
| |
* | Remove unused imports.Berker Peksag2014-09-011-2/+2
|\ \ | |/
| * Remove unused imports.Berker Peksag2014-09-011-2/+2
| |
* | Issue #19447: Suppress output of py_compile.compile().Berker Peksag2014-09-011-1/+2
|\ \ | |/
| * Issue #19447: Suppress output of py_compile.compile().Berker Peksag2014-09-011-1/+2
| |
* | Issue #22320: merge from 3.4Ned Deily2014-09-011-1/+2
|\ \ | |/
| * Issue #22320: Fix broken link in the General Python FAQ.Ned Deily2014-09-011-1/+2
| | | | | | | | Original patch by Josh Lynn.
* | Merge with 3.4; Closes #22315Jason R. Coombs2014-08-312-2/+14
|\ \ | |/
| * #22315: Use advertised API for OSErrorJason R. Coombs2014-08-311-2/+1
| |
| * #22315: Use an existent directory for 'src' to trigger appropriate behavior.Jason R. Coombs2014-08-311-1/+2
| |
| * #22315: Provide an actual directory during test invocation.Jason R. Coombs2014-08-311-1/+1
| |
| * #22315: Use technique outlined in test_file_utilJason R. Coombs2014-08-311-22/+5
| |
| * #22315: Add test to capture the failure.Jason R. Coombs2014-08-311-0/+29
| |
* | merge 3.4Benjamin Peterson2014-08-311-2/+1
|\ \ | |/
| * Correct indentJason R. Coombs2014-08-311-1/+1
| |
| * Remove unused importJason R. Coombs2014-08-311-1/+0
| |
* | (Merge 3.4) asyncio, Tulip issue 205: Fix a race condition inVictor Stinner2014-08-312-35/+83
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BaseSelectorEventLoop.sock_connect() There is a race condition in create_connection() used with wait_for() to have a timeout. sock_connect() registers the file descriptor of the socket to be notified of write event (if connect() raises BlockingIOError). When create_connection() is cancelled with a TimeoutError, sock_connect() coroutine gets the exception, but it doesn't unregister the file descriptor for write event. create_connection() gets the TimeoutError and closes the socket. If you call again create_connection(), the new socket will likely gets the same file descriptor, which is still registered in the selector. When sock_connect() calls add_writer(), it tries to modify the entry instead of creating a new one. This issue was originally reported in the Trollius project, but the bug comes from Tulip in fact (Trollius is based on Tulip): https://bitbucket.org/enovance/trollius/issue/15/after-timeouterror-on-wait_for This change fixes the race condition. It also makes sock_connect() more reliable (and portable) is sock.connect() raises an InterruptedError.
| * asyncio, Tulip issue 205: Fix a race condition in ↵Victor Stinner2014-08-312-35/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BaseSelectorEventLoop.sock_connect() There is a race condition in create_connection() used with wait_for() to have a timeout. sock_connect() registers the file descriptor of the socket to be notified of write event (if connect() raises BlockingIOError). When create_connection() is cancelled with a TimeoutError, sock_connect() coroutine gets the exception, but it doesn't unregister the file descriptor for write event. create_connection() gets the TimeoutError and closes the socket. If you call again create_connection(), the new socket will likely gets the same file descriptor, which is still registered in the selector. When sock_connect() calls add_writer(), it tries to modify the entry instead of creating a new one. This issue was originally reported in the Trollius project, but the bug comes from Tulip in fact (Trollius is based on Tulip): https://bitbucket.org/enovance/trollius/issue/15/after-timeouterror-on-wait_for This change fixes the race condition. It also makes sock_connect() more reliable (and portable) is sock.connect() raises an InterruptedError.
* | (Merge 3.4) Closes #22275: asyncio: enhance documentation of OS supportVictor Stinner2014-08-312-8/+26
|\ \ | |/
| * Closes #22275: asyncio: enhance documentation of OS supportVictor Stinner2014-08-312-8/+26
| |
* | merge 3.4 (closes #22307)Benjamin Peterson2014-08-311-4/+4
|\ \ | |/
| * getuid() returns real process id not effective (closes #22307)Benjamin Peterson2014-08-311-4/+4
| |