Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [3.10] gh-85073: Add some missing links to source (GH-99363) (#99589) | Stanley | 2022-11-19 | 1 | -0/+2 |
| | | | | | (cherry picked from commit 27d8dc2c9d3de886a884f79f0621d4586c0e0f7a) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> | ||||
* | [3.10] gh-93675: Fix typos in `Doc/` (GH-93676) (GH-94080) | Łukasz Langa | 2022-06-21 | 1 | -1/+1 |
| | | | | | | Closes GH-93675 (cherry picked from commit 830513754d081619b2d72db17770627312072fa5) Co-authored-by: luzpaz <luzpaz@users.noreply.github.com> | ||||
* | Fix awkward sentence in signal docs (GH-91508) | Miss Islington (bot) | 2022-04-20 | 1 | -4/+5 |
| | | | | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit 326ae71f1d93c12100150baa1173ea7ce7a96ea0) Co-authored-by: AJ Jordan <alex@strugee.net> | ||||
* | bpo-42340: Document issues around KeyboardInterrupt (GH-23255) | Miss Islington (bot) | 2022-03-29 | 1 | -0/+70 |
| | | | | | | | | Update documentation to note that in some circumstances, KeyboardInterrupt may cause code to enter an inconsistent state. Also document sample workaround to avoid KeyboardInterrupt, if needed. (cherry picked from commit d0906c90fcfbc4cfb9bb963eaa6bb152dd543b56) Co-authored-by: benfogle <benfogle@gmail.com> | ||||
* | Fix wrong availability for signal.SIGCHLD (#23285) | Zhang Maiyun | 2020-11-20 | 1 | -1/+1 |
| | | | I believe this is a mistake. SIGCHLD is only available on Unix systems, not Windows. | ||||
* | Doc: Fix broken manpage link (GH-21937) | Tim Burke | 2020-09-15 | 1 | -1/+1 |
| | | | sigprocmask is in section 2, not 3. | ||||
* | Document most common signals (GH-19245) | Victor Stinner | 2020-03-31 | 1 | -0/+106 |
| | | | | Document individual signals (only the most common signals): description, default action, availability. | ||||
* | bpo-40010: COMPUTE_EVAL_BREAKER() checks for subinterpreter (GH-19087) | Victor Stinner | 2020-03-20 | 1 | -5/+7 |
| | | | | | | | | | COMPUTE_EVAL_BREAKER() now also checks if the Python thread state belongs to the main interpreter. Don't break the evaluation loop if there are pending signals but the Python thread state it belongs to a subinterpeter. * Add _Py_IsMainThread() function. * Add _Py_ThreadCanHandleSignals() function. | ||||
* | bpo-39184: Add audit events to functions in `fcntl`, `msvcrt`, `os`, ↵ | Saiyang Gou | 2020-02-13 | 1 | -0/+2 |
| | | | | `resource`, `shutil`, `signal`, `syslog` (GH-18407) | ||||
* | closes bpo-38712: Add signal.pidfd_send_signal. (GH-17070) | Benjamin Peterson | 2019-11-20 | 1 | -0/+13 |
| | | | | | | | | This exposes a Linux-specific syscall for sending a signal to a process identified by a file descriptor rather than a pid. For simplicity, we don't support the siginfo_t parameter to the syscall. This parameter allows implementing a pidfd version of rt_sigqueueinfo(2), which Python also doesn't support. | ||||
* | Improve signal documentation (GH-14274) | Géry Ogam | 2019-08-06 | 1 | -20/+22 |
| | | | | * add a missing ``.. availability::`` reST explicit markup; * more consistent "see man page" sentences. | ||||
* | bpo-28795: Signal documentation: Fix misleading statement. (GH-13121) | Julien Palard | 2019-05-07 | 1 | -1/+2 |
| | |||||
* | bpo-35568: add 'raise_signal' function (GH-11335) | Vladimir Matveev | 2019-01-08 | 1 | -0/+7 |
| | | | | | | As in title, expose C `raise` function as `raise_function` in `signal` module. Also drop existing `raise_signal` in `_testcapi` module and replace all usages with new function. https://bugs.python.org/issue35568 | ||||
* | bpo-11233: Create availability directive for documentation (GH-9692) | Cheryl Sabella | 2018-10-12 | 1 | -19/+26 |
| | | | | | | Replace "Availability: xxx" with ".. availability:: xxx" in the doc. Original patch by Georg Brandl. Co-Authored-By: Georg Brandl <georg@python.org> | ||||
* | Warn not to set SIGPIPE to SIG_DFL (#6773) | Alfred Perlstein | 2018-08-17 | 1 | -0/+34 |
| | |||||
* | bpo-33332: Add signal.valid_signals() (GH-6581) | Antoine Pitrou | 2018-05-04 | 1 | -2/+11 |
| | |||||
* | signal: add strsignal() (#6017) | Antoine Pietri | 2018-03-12 | 1 | -0/+9 |
| | | | Co-authored-by: Vajrasky Kok <sky.kok@speaklikeaking.com> | ||||
* | bpo-30050: Allow disabling full buffer warnings in signal.set_wakeup_fd (#4792) | Nathaniel J. Smith | 2017-12-18 | 1 | -4/+24 |
| | |||||
* | bpo-30807: signal.setitimer() now uses _PyTime API (GH-3865) | Victor Stinner | 2017-10-13 | 1 | -3/+4 |
| | | | | | | The _PyTime API handles detects overflow and is well tested. Document that the signal will only be sent once if internal is equal to zero. | ||||
* | Mention how to disable signal fd wakeup (#2140) | Antoine Pitrou | 2017-06-13 | 1 | -2/+4 |
| | |||||
* | Issue #28738: Document SIGBREAK as an acceptable value on Windows | Berker Peksag | 2016-11-25 | 1 | -2/+3 |
| | | | | Patch by Wojtek Ruszczewski. | ||||
* | Issue #22558: Add remaining doc links to source code for Python-coded modules. | Terry Jan Reedy | 2016-06-11 | 1 | -0/+1 |
| | | | | | Reformat header above separator line (added if missing) to a common format. Patch by Yoni Lavi. | ||||
* | Issue #21382: Clarify signal.signal() documentation on Windows | Berker Peksag | 2016-04-23 | 1 | -0/+3 |
| | | | | | | | | All signal.SIG* constants may not be defined on Windows so a call like signal.signal(signal.SIGPIPE, lambda signum, frame: sys.exit(1)) will raise an AttributeError. | ||||
* | Issue #14456: Remove contradiction about blocking signals from bad merge | Martin Panter | 2016-04-11 | 1 | -3/+0 |
| | |||||
* | Issue #26304: Change "allows to <verb>" to "allows <verb>ing" or similar | Martin Panter | 2016-02-10 | 1 | -1/+1 |
| | | | | | The original form is incorrect grammar and feels awkward, even though the meaning is clear. | ||||
* | Marked keystrokes with the :kbd: role. | Serhiy Storchaka | 2015-09-12 | 1 | -2/+2 |
|\ | | | | | | | Fixed the case of the "Ctrl-" prefixes. | ||||
| * | Marked keystrokes with the :kbd: role. | Serhiy Storchaka | 2015-09-12 | 1 | -2/+2 |
| | | | | | | | | Fixed the case of the "Ctrl-" prefixes. | ||||
* | | Issue #20182: converted the signal module to use Argument Clinic | Tal Einat | 2015-05-16 | 1 | -6/+6 |
| | | |||||
* | | What's New in Python 3.5, PEP 475: mention modified signal functions | Victor Stinner | 2015-03-31 | 1 | -2/+2 |
| | | |||||
* | | Issue #23715: signal.sigwaitinfo() and signal.sigtimedwait() are now retried | Victor Stinner | 2015-03-20 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | | | | | when interrupted by a signal not in the *sigset* parameter, if the signal handler does not raise an exception. signal.sigtimedwait() recomputes the timeout with a monotonic clock when it is retried. Remove test_signal.test_sigwaitinfo_interrupted() because sigwaitinfo() doesn't raise InterruptedError anymore if it is interrupted by a signal not in its sigset parameter. | ||||
* | | Issue #22018: On Windows, signal.set_wakeup_fd() now also supports sockets. | Victor Stinner | 2014-07-29 | 1 | -0/+3 |
| | | | | | | | | 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 | -5/+0 |
| | | |||||
* | | tets | Victor Stinner | 2014-07-24 | 1 | -0/+5 |
| | | |||||
* | | fix #21076: turn signal module constants into enums | Giampaolo Rodola' | 2014-04-04 | 1 | -0/+10 |
|/ | |||||
* | Closes #1215: document better why it is not a good idea to catch e.g. ↵ | Georg Brandl | 2013-10-06 | 1 | -1/+5 |
| | | | | | | SIGSEGV and refer to faulthandler. Patch by Martin Pool. | ||||
* | Fix formatting | Antoine Pitrou | 2012-03-31 | 1 | -7/+7 |
| | |||||
* | Issue #14456: improve documentation of the signal module w.r.t. threads. | Antoine Pitrou | 2012-03-31 | 1 | -42/+65 |
|\ | |||||
| * | Issue #14456: improve documentation of the signal module w.r.t. threads. | Antoine Pitrou | 2012-03-31 | 1 | -40/+52 |
| | | |||||
* | | Issue #13964: signal.sigtimedwait() timeout is now a float instead of a tuple | Victor Stinner | 2012-03-02 | 1 | -5/+4 |
| | | | | | | | | Add a private API to convert an int or float to a C timespec structure. | ||||
* | | Mention InterruptedError in the doc for new function signal.sigwaitinfo | Antoine Pitrou | 2011-10-23 | 1 | -2/+2 |
| | | |||||
* | | Fix some mentions of IOError | Antoine Pitrou | 2011-10-12 | 1 | -2/+6 |
| | | |||||
* | | Issue #12303: Add sigwaitinfo() and sigtimedwait() to the signal module. | Ross Lagerwall | 2011-06-25 | 1 | -2/+43 |
| | | |||||
* | | Close #12028: Make threading._get_ident() public, rename it to | Victor Stinner | 2011-05-30 | 1 | -4/+3 |
| | | | | | | | | | | threading.get_ident() and document it. This function was used by _thread.get_ident(). | ||||
* | | Issue #8407: The signal handler writes the signal number as a single byte | Victor Stinner | 2011-05-08 | 1 | -3/+7 |
| | | | | | | | | | | 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 | -0/+53 |
| | | | | | | | | signal module. | ||||
* | | Issue #8407: signal.pthread_sigmask() returns a set instead of a list | Victor Stinner | 2011-05-04 | 1 | -3/+4 |
| | | | | | | | | Update the doc. Refactor also related tests. | ||||
* | | Issue #8407, issue #11859: Add signal.pthread_sigmask() function to fetch | Victor Stinner | 2011-04-30 | 1 | -3/+50 |
|/ | | | | | | | | | 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. | ||||
* | Migrate to Sphinx 1.0 C language constructs. | Georg Brandl | 2010-10-06 | 1 | -2/+2 |
| | |||||
* | Fix #9324: Add parameter validation to signal.signal on Windows in order | Brian Curtin | 2010-08-06 | 1 | -0/+4 |
| | | | | to prevent crashes. | ||||
* | Issue #9524: Document that two CTRL* signals are meant for use only | Brian Curtin | 2010-08-05 | 1 | -2/+6 |
| | | | | with os.kill. |