<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/signalmodule.c, branch 3.10</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/signalmodule.c?h=3.10</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/signalmodule.c?h=3.10'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2023-03-08T08:21:13Z</updated>
<entry>
<title>[3.10] GH-102397: Fix segfault from race condition in signal handling (GH-102399) (#102527)</title>
<updated>2023-03-08T08:21:13Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2023-03-08T08:21:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c4fb41816f6045dd608d4d97266f16feaf974b83'/>
<id>urn:sha1:c4fb41816f6045dd608d4d97266f16feaf974b83</id>
<content type='text'>
GH-102397: Fix segfault from race condition in signal handling (GH-102399)
(cherry picked from commit 1a84cc007e207f2dd61f86a7fc3d86632fdce72f)

Co-authored-by: Kumar Aditya &lt;59607654+kumaraditya303@users.noreply.github.com&gt;
Co-authored-by: Gregory P. Smith &lt;greg@krypto.org&gt;</content>
</entry>
<entry>
<title>gh-84461: Silence some compiler warnings on WASM (GH-93978) (#94025)</title>
<updated>2022-06-20T14:09:55Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2022-06-20T14:09:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9d73adf7a45035f9c3bd6771347aad912e15c373'/>
<id>urn:sha1:9d73adf7a45035f9c3bd6771347aad912e15c373</id>
<content type='text'>
(cherry picked from commit 774ef28814d0d9d57ec813cb31b0a7af6c476127)

Co-authored-by: Christian Heimes &lt;christian@python.org&gt;</content>
</entry>
<entry>
<title>bpo-23325: Fix SIG_IGN and SIG_DFL int comparison in signal module (GH-31759)</title>
<updated>2022-03-08T18:53:24Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-03-08T18:53:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=95b001fe6766f491f4356f8bcf23d6895bab2342'/>
<id>urn:sha1:95b001fe6766f491f4356f8bcf23d6895bab2342</id>
<content type='text'>
(cherry picked from commit c8a47e76a391c8818bf10a282cdcd3bb5c23ebf6)

Co-authored-by: Christian Heimes &lt;christian@python.org&gt;</content>
</entry>
<entry>
<title>[3.10] bpo-41498: Fix build on platforms without sigset_t (GH-29770) (GH-29773)</title>
<updated>2021-11-25T11:53:07Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-11-25T11:53:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=632d589afcaac3b8441c8c042a98e1ae452533e0'/>
<id>urn:sha1:632d589afcaac3b8441c8c042a98e1ae452533e0</id>
<content type='text'>
(cherry picked from commit dc19e8698327cae3d6274b73c135375955f1d0d0)


Co-authored-by: Christian Heimes &lt;christian@python.org&gt;

Automerge-Triggered-By: GH:tiran</content>
</entry>
<entry>
<title>[3.10] Fix typos in the Modules directory (GH-28761) (GH-28781)</title>
<updated>2021-10-07T08:55:18Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-10-07T08:55:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5afc5bb45d614ea4a512e257b6b60e4f98185043'/>
<id>urn:sha1:5afc5bb45d614ea4a512e257b6b60e4f98185043</id>
<content type='text'>
(cherry picked from commit dd02a696e55b450413e765e698e653d781ca4205)


Co-authored-by: Christian Clauss &lt;cclauss@me.com&gt;

Automerge-Triggered-By: GH:gpshead</content>
</entry>
<entry>
<title>bpo-43963: Add _signal module state (GH-25676)</title>
<updated>2021-04-28T01:02:55Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2021-04-28T01:02:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a5e64444e6df7d1d498576bab26deaddc288a7bd'/>
<id>urn:sha1:a5e64444e6df7d1d498576bab26deaddc288a7bd</id>
<content type='text'>
* Add signal_state_t structure and signal_global_state variable.
* Add a module state to the _signal module.
* Move and rename variables:

  * DefaultHandler becomes state-&gt;default_handler
  * IgnoreHandler becomes state-&gt;ignore_handler
  * sigint_event becomes state-&gt;sigint_event
  * ItimerError becomes modstate-&gt;itimer_error

* Rename SetHandler() to set_handler() to be consistent with
  get_handler().</content>
</entry>
<entry>
<title>bpo-43963: Fix import _signal in subinterpreters (GH-25674)</title>
<updated>2021-04-27T23:50:04Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2021-04-27T23:50:04Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a09766deab5aff549f40f27080895e148af922ed'/>
<id>urn:sha1:a09766deab5aff549f40f27080895e148af922ed</id>
<content type='text'>
Importing the _signal module in a subinterpreter has no longer side
effects.

signal_module_exec() no longer modifies Handlers and no longer attempts
to set SIGINT signal handler in subinterpreters.</content>
</entry>
<entry>
<title>bpo-43356: Allow passing a signal number to interrupt_main() (GH-24755)</title>
<updated>2021-03-11T22:35:45Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>antoine@python.org</email>
</author>
<published>2021-03-11T22:35:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ba251c2ae6654bfc8abd9d886b219698ad34ac3c'/>
<id>urn:sha1:ba251c2ae6654bfc8abd9d886b219698ad34ac3c</id>
<content type='text'>
Also introduce a new C API ``PyErr_SetInterruptEx(int signum)``.
</content>
</entry>
<entry>
<title>bpo-43406: Fix possible race condition where ``PyErr_CheckSignals`` tries to execute a non-Python signal handler (GH-24756)</title>
<updated>2021-03-05T09:32:50Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>antoine@python.org</email>
</author>
<published>2021-03-05T09:32:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=68245b7a1030287294c65c298975ab9026543fd2'/>
<id>urn:sha1:68245b7a1030287294c65c298975ab9026543fd2</id>
<content type='text'>
We can receive signals (at the C level, in `trip_signal()` in signalmodule.c) while `signal.signal` is being called to modify the corresponding handler.  Later when `PyErr_CheckSignals()` is called to handle the given signal, the handler may be a non-callable object and would raise a cryptic asynchronous exception.
</content>
</entry>
<entry>
<title>bpo-31904: Support signal module on VxWorks (GH-23391)</title>
<updated>2020-11-30T21:48:33Z</updated>
<author>
<name>pxinwr</name>
<email>peixing.xin@windriver.com</email>
</author>
<published>2020-11-30T21:48:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1244c816d7cdfa8a26d1671cab67122a8c5271a7'/>
<id>urn:sha1:1244c816d7cdfa8a26d1671cab67122a8c5271a7</id>
<content type='text'>
</content>
</entry>
</feed>
