A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2019-April/157074.html below:

[Python-Dev] Removing PID check from signal handler

[Python-Dev] Removing PID check from signal handler [Python-Dev] Removing PID check from signal handlerJeroen Demeyer J.Demeyer at UGent.be
Fri Apr 12 12:19:36 EDT 2019
The signal handler (that receives signals from the OS) in Python starts 
with a check

     if (getpid() == main_pid)

Looking at the comments, the intent was to do a check for the main 
*thread* but this is checking the *process* id. So this condition is 
basically always true. Therefore, I suggest to remove it in 
https://bugs.python.org/issue36601

If you have any objections or comments, I suggest to post them to that bpo.


Jeroen.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4