Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #22869: Split pythonrun into two modules | Nick Coghlan | 2014-11-20 | 1 | -1/+1 |
| | | | | | | | - interpreter startup and shutdown code moved to a new pylifecycle.c module - Py_OptimizeFlag moved into the new module with the other global flags | ||||
* | Issue #22042: signal.set_wakeup_fd(fd) now raises an exception if the file | Victor Stinner | 2014-08-27 | 1 | -1/+19 |
| | | | | descriptor is in blocking mode. | ||||
* | Issue #22018: On Windows, signal.set_wakeup_fd() now also supports sockets. | Victor Stinner | 2014-07-29 | 1 | -18/+165 |
| | | | | A side effect is that Python depends to the WinSock library. | ||||
* | Backout 42ced0d023cd: oops, i didn't want to push this changeset :-/ | Victor Stinner | 2014-07-24 | 1 | -136/+19 |
| | |||||
* | tets | Victor Stinner | 2014-07-24 | 1 | -19/+136 |
| | |||||
* | Issue #22018: signal.set_wakeup_fd() now raises an OSError instead of a | Victor Stinner | 2014-07-21 | 1 | -3/+11 |
| | | | | ValueError on fstat() failure. | ||||
* | merge along w/ fix for issue #2107 (commit c9239171e429) | Brett Cannon | 2014-04-04 | 1 | -3/+3 |
|\ | |||||
| * | fix #21076: turn signal module constants into enums | Giampaolo Rodola' | 2014-04-04 | 1 | -2/+2 |
|/ | |||||
* | Issue #20320: select.select() and select.kqueue.control() now round the timeout | Victor Stinner | 2014-02-16 | 1 | -1/+2 |
| | | | | | | aways from zero, instead of rounding towards zero. It should make test_asyncio more reliable, especially test_timeout_rounding() test. | ||||
* | Issue #20437: Fixed 22 potential bugs when deleting objects references. | Serhiy Storchaka | 2014-02-09 | 1 | -6/+3 |
|\ | |||||
| * | Issue #20437: Fixed 21 potential bugs when deleting objects references. | Serhiy Storchaka | 2014-02-09 | 1 | -6/+3 |
| | | |||||
* | | Issue #18774: Remove last bits of GNU PTH thread code, patch by Vajrasky Kok. | Christian Heimes | 2013-08-18 | 1 | -12/+0 |
| | | |||||
* | | Issue #16105: When a signal handler fails to write to the file descriptor ↵ | Antoine Pitrou | 2013-08-17 | 1 | -1/+17 |
| | | | | | | | | registered with ``signal.set_wakeup_fd()``, report an exception instead of ignoring the error. | ||||
* | | Issue #18520: Add a new PyStructSequence_InitType2() function, same than | Victor Stinner | 2013-07-22 | 1 | -3/+4 |
| | | | | | | | | | | | | | | | | PyStructSequence_InitType() except that it has a return value (0 on success, -1 on error). * PyStructSequence_InitType2() now raises MemoryError on memory allocation failure * Fix also some calls to PyDict_SetItemString(): handle error | ||||
* | | Issue #14173: Avoid crashing when reading a signal handler during ↵ | Antoine Pitrou | 2013-05-04 | 1 | -3/+11 |
|\ \ | |/ | | | | | interpreter shutdown. | ||||
| * | Issue #14173: Avoid crashing when reading a signal handler during ↵ | Antoine Pitrou | 2013-05-04 | 1 | -3/+11 |
| | | | | | | | | interpreter shutdown. | ||||
* | | Merge. | Richard Oudkerk | 2013-04-17 | 1 | -1/+5 |
|\ \ | |/ | |||||
| * | - Issue #17782: Fix undefined behaviour on platforms where ``struct ↵ | Antoine Pitrou | 2013-04-17 | 1 | -1/+5 |
| | | | | | | | | timespec``'s "tv_nsec" member is not a C long. | ||||
* | | Issue #17591: Use lowercase filenames when including Windows header files. | Antoine Pitrou | 2013-03-31 | 1 | -1/+1 |
| | | | | | | | | Patch by Roumen Petrov. | ||||
* | | Issue #4591: Uid and gid values larger than 2**31 are supported now. | Serhiy Storchaka | 2013-02-10 | 1 | -1/+4 |
|\ \ | |/ | |||||
| * | Issue #4591: Uid and gid values larger than 2**31 are supported now. | Serhiy Storchaka | 2013-02-10 | 1 | -1/+4 |
| | | |||||
* | | Issue #17098: all modules should have __loader__ | Brett Cannon | 2013-02-01 | 1 | -2/+1 |
|\ \ | |/ | |||||
| * | Issue #17098: Make sure every module has __loader__ defined. | Brett Cannon | 2013-02-01 | 1 | -2/+1 |
| | | | | | | | | Thanks to Thomas Heller for the bug report. | ||||
* | | merge 3.3 | Benjamin Peterson | 2013-01-18 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | check windows fd validity (closes #16992) | Benjamin Peterson | 2013-01-18 | 1 | -1/+1 |
| | | |||||
* | | Fixes issue #9535: Fix pending signals that have been received but not | Gregory P. Smith | 2012-11-11 | 1 | -0/+16 |
|\ \ | |/ | | | | | yet handled by Python to not persist after os.fork() in the child process. | ||||
| * | Fixes issue #9535: Fix pending signals that have been received but not | Gregory P. Smith | 2012-11-11 | 1 | -0/+16 |
| |\ | | | | | | | | | | yet handled by Python to not persist after os.fork() in the child process. | ||||
| | * | Fixes issue #9535: Fix pending signals that have been received but not | Gregory P. Smith | 2012-11-11 | 1 | -0/+16 |
| | | | | | | | | | | | | yet handled by Python to not persist after os.fork() in the child process. | ||||
* | | | #16135: Removal of OS/2 support (Modules/*) | Jesus Cea | 2012-10-05 | 1 | -5/+0 |
|/ / | |||||
* | | Issue #13964: signal.sigtimedwait() timeout is now a float instead of a tuple | Victor Stinner | 2012-03-02 | 1 | -8/+3 |
| | | | | | | | | Add a private API to convert an int or float to a C timespec structure. | ||||
* | | Merge. | Charles-François Natali | 2012-02-02 | 1 | -1/+3 |
|\ \ | |/ | |||||
| * | Issue #13817: After fork(), reinit the ad-hoc TLS implementation earlier to fix | Charles-François Natali | 2012-02-02 | 1 | -1/+3 |
| | | | | | | | | | | a random deadlock when fork() is called in a multithreaded process in debug mode, and make PyOS_AfterFork() more robust. | ||||
* | | Issue #12328: Under Windows, refactor handling of Ctrl-C events and | Antoine Pitrou | 2011-11-21 | 1 | -0/+36 |
| | | | | | | | | | | make _multiprocessing.win32.WaitForMultipleObjects interruptible when the wait_flag parameter is false. Patch by sbt. | ||||
* | | Issue #12303: Add sigwaitinfo() and sigtimedwait() to the signal module. | Ross Lagerwall | 2011-06-25 | 1 | -1/+153 |
| | | |||||
* | | Issue #8407: signal.sigwait() releases the GIL | Victor Stinner | 2011-06-09 | 1 | -0/+2 |
| | | | | | | | | Initial patch by Charles-François Natali. | ||||
* | | Issue #8407: Fix the signal handler of the signal module: if it is called | Victor Stinner | 2011-05-25 | 1 | -4/+5 |
| | | | | | | | | twice, it now writes the number of the second signal into the wakeup fd. | ||||
* | | (Merge 3.2) Issue #12060: Use sig_atomic_t type and volatile keyword in the | Victor Stinner | 2011-05-15 | 1 | -3/+3 |
|\ \ | |/ | | | | | signal module. Patch written by Charles-François Natali. | ||||
| * | (Merge 3.1) Issue #12060: Use sig_atomic_t type and volatile keyword in the | Victor Stinner | 2011-05-15 | 1 | -3/+3 |
| |\ | | | | | | | | | | signal module. Patch written by Charles-François Natali. | ||||
| | * | Issue #12060: Use sig_atomic_t type and volatile keyword in the signal module. | Victor Stinner | 2011-05-15 | 1 | -3/+3 |
| | | | | | | | | | | | | Patch written by Charles-François Natali. | ||||
* | | | Issue #12011: signal.signal() and signal.siginterrupt() raise an OSError, | Victor Stinner | 2011-05-10 | 1 | -2/+2 |
| | | | | | | | | | | | | instead of a RuntimeError: OSError has an errno attribute. | ||||
* | | | Issue #8407: Use an explicit cast for FreeBSD | Victor Stinner | 2011-05-09 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | pthread_t is a pointer, not an integer, on FreeBSD. It should fix the following gcc warning: passing argument 1 of ‘pthread_kill’ makes pointer from integer without a cast | ||||
* | | | Issue #8407: The signal handler writes the signal number as a single byte | Victor Stinner | 2011-05-08 | 1 | -2/+5 |
| | | | | | | | | | | | | | | | instead of a nul byte into the wakeup file descriptor. So it is possible to wait more than one signal and know which signals were raised. | ||||
* | | | Issue #8407: Add pthread_kill(), sigpending() and sigwait() functions to the | Victor Stinner | 2011-05-07 | 1 | -2/+100 |
| | | | | | | | | | | | | signal module. | ||||
* | | | Issue #8407: signal.pthread_sigmask() returns a set instead of a list | Victor Stinner | 2011-05-04 | 1 | -26/+35 |
| | | | | | | | | | | | | Update the doc. Refactor also related tests. | ||||
* | | | Issue #8407: pthread_sigmask() checks immediatly if signal handlers have been | Victor Stinner | 2011-05-03 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | called. The test checks that SIG_UNBLOCK calls immediatly the signal handler of the pending SIGUSR1. Improve also the tests using an exception (division by zero) instead of a flag (a function attribute). | ||||
* | | | cleanup signalmodule.c: use PyModule_AddIntMacro() | Victor Stinner | 2011-05-02 | 1 | -14/+6 |
| | | | |||||
* | | | Issue #8407, issue #11859: Add signal.pthread_sigmask() function to fetch | Victor Stinner | 2011-04-30 | 1 | -1/+138 |
|/ / | | | | | | | | | | | | | | | | | and/or change the signal mask of the calling thread. Fix also tests of test_io using threads and an alarm: use pthread_sigmask() to ensure that the SIGALRM signal is received by the main thread. Original patch written by Jean-Paul Calderone. | ||||
* | | Issue #10517: After fork(), reinitialize the TLS used by the PyGILState_* | Antoine Pitrou | 2011-04-27 | 1 | -0/+1 |
| | | | | | | | | | | APIs, to avoid a crash with the pthread implementation in RHEL 5. Patch by Charles-François Natali. | ||||
* | | (Merge 3.1) Issue #11768: The signal handler of the signal module only calls | Victor Stinner | 2011-04-18 | 1 | -10/+16 |
|\ \ | |/ | | | | | | | Py_AddPendingCall() for the first signal to fix a deadlock on reentrant or parallel calls. PyErr_SetInterrupt() writes also into the wake up file. | ||||
| * | Issue #11768: The signal handler of the signal module only calls | Victor Stinner | 2011-04-18 | 1 | -10/+16 |
| | | | | | | | | | | Py_AddPendingCall() for the first signal to fix a deadlock on reentrant or parallel calls. PyErr_SetInterrupt() writes also into the wake up file. |