[issue45643] SIGSTKFLT is missing from the signals module on Linux

2021-12-13 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset a62be77266b1beadd42d4952186332bc0847b7d6 by Gareth Rees in branch 
'main':
bpo-45643: Add signal.SIGSTKFLT on platforms where this is defined (GH-29266)
https://github.com/python/cpython/commit/a62be77266b1beadd42d4952186332bc0847b7d6


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45643] SIGSTKFLT is missing from the signals module on Linux

2021-11-17 Thread Gareth Rees


Gareth Rees  added the comment:

Tagging vstinner as you have touched Modules/signalmodule.c a few times in the 
last year. What do you think?

--
nosy: +vstinner

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45643] SIGSTKFLT is missing from the signals module on Linux

2021-10-29 Thread Sam James


Change by Sam James :


--
nosy: +thesamesam

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45643] SIGSTKFLT is missing from the signals module on Linux

2021-10-28 Thread Gareth Rees


Change by Gareth Rees :


--
keywords: +patch
pull_requests: +27529
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/29266

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45643] SIGSTKFLT is missing from the signals module on Linux

2021-10-28 Thread Gareth Rees

New submission from Gareth Rees :

BACKGROUND

On Linux, "man 7 signal" includes SIGSTKFLT in its table of "various other 
signals":

Signal Value   Action  Comment
───
SIGSTKFLT  -,16,-   Term   Stack fault on coprocessor (unused)

Here "-,16,-" means that the signal is defined with the value 16 on x86 and ARM 
but not on Alpha, SPARC or MIPS. I believe that the intention was to use 
SIGSTKFLT for stack faults on the x87 math coprocessor, but this was either 
removed or never implemented, so that the signal is defined in 
/usr/include/signal.h but not used by the Linux kernel.


USE CASE

SIGSTKFLT is one of a handful of signals that are not used by the kernel, so 
that user-space programs are free to use it for their own purposes, for example 
for inter-thread or inter-process pre-emptive communication.

Accordingly, it would be nice if the name SIGSTKFLT were available in the 
Python signal module on the platforms where the signal is available, for use 
and reporting in these cases.

--
components: Library (Lib)
messages: 405174
nosy: g...@garethrees.org
priority: normal
severity: normal
status: open
title: SIGSTKFLT is missing from the signals module on Linux
type: enhancement
versions: Python 3.11

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com