File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ What's New in Python 3.1.4?
1010Core and Builtins
1111-----------------
1212
13+ - Issue #12060: Use sig_atomic_t type and volatile keyword in the signal
14+ module. Patch written by Charles-François Natali.
15+
1316- Issue #1195: Fix input() if it is interrupted by CTRL+d and then CTRL+c,
1417 clear the end-of-file indicator after CTRL+d.
1518
Original file line number Diff line number Diff line change @@ -78,12 +78,12 @@ static long main_thread;
7878static pid_t main_pid ;
7979#endif
8080
81- static struct {
82- int tripped ;
81+ static volatile struct {
82+ sig_atomic_t tripped ;
8383 PyObject * func ;
8484} Handlers [NSIG ];
8585
86- static sig_atomic_t wakeup_fd = -1 ;
86+ static volatile sig_atomic_t wakeup_fd = -1 ;
8787
8888/* Speed up sigcheck() when none tripped */
8989static volatile sig_atomic_t is_tripped = 0 ;
You can’t perform that action at this time.
0 commit comments