Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-95451: Update docs for wasm32-emscripten and -wasi platforms (GH-95452) | Christian Heimes | 2022-08-02 | 1 | -0/+3 |
| | | | | | | Co-authored-by: Éric <merwok@netwok.org> Co-authored-by: Michael Droettboom <mdboom@gmail.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM> | ||||
* | gh-95415: Make availability directive consistent (GH-95416) | Christian Heimes | 2022-07-29 | 1 | -21/+35 |
| | |||||
* | gh-93675: Fix typos in `Doc/` (GH-93676) | luzpaz | 2022-06-21 | 1 | -1/+1 |
| | | | Closes #93675 | ||||
* | gh-93851: Fix all broken links in Doc/ (GH-93853) | Oleg Iarygin | 2022-06-21 | 1 | -1/+1 |
| | |||||
* | gh-64783: Fix signal.NSIG value on FreeBSD (#91929) | Victor Stinner | 2022-04-25 | 1 | -0/+1 |
| | | | | | | | | | Fix signal.NSIG value on FreeBSD to accept signal numbers greater than 32, like signal.SIGRTMIN and signal.SIGRTMAX. * Add Py_NSIG constant. * Add pycore_signal.h internal header file. * _Py_Sigset_Converter() now includes the range of valid signals in the error message. | ||||
* | Fix awkward sentence in signal docs (#91508) | AJ Jordan | 2022-04-20 | 1 | -4/+5 |
| | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | ||||
* | bpo-42340: Document issues around KeyboardInterrupt (GH-23255) | benfogle | 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. | ||||
* | bpo-45643: Add signal.SIGSTKFLT on platforms where this is defined (GH-29266) | Gareth Rees | 2021-12-13 | 1 | -0/+10 |
| | |||||
* | bpo-28206: Document signals Handlers, Sigmasks and Signals enums (GH-28628) | Bibo-Joshi | 2021-10-04 | 1 | -5/+30 |
| | | | Co-authored-by: desbma <desbma@users.noreply.github.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. |