This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2015年05月27日 16:30 by pankaj.s01, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| Python-3.4.3-faulthandler.patch | pankaj.s01, 2015年05月27日 16:30 | Modules/faulthandler.c | ||
| Messages (2) | |||
|---|---|---|---|
| msg244195 - (view) | Author: Pankaj Sharma (pankaj.s01) * | Date: 2015年05月27日 16:30 | |
Hi, There is dead code reported in this issue and I think no need to check for NULL of 'handler' in function faulthandler_fatal_error() and file Python-3.4.3/Modules/faulthandler.c . where 'handler' is pointed to staic array faulthandler_handlers[] which never will be null inside loop with faulthandler_nsignals value and doesn't means to check for NULL outside of loop. but if there is possibility of 'handler' to be NULL then it should be check inside the loop until handler->signum is not equal to signum and then break; |
|||
| msg247264 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2015年07月24日 08:36 | |
The check is required to fix a compiler warning. Please keep it, it doesn't bite. Maybe add a comment to explain it. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:17 | admin | set | github: 68490 |
| 2019年10月16日 23:11:05 | vstinner | set | status: open -> closed resolution: not a bug stage: resolved |
| 2015年07月24日 08:36:17 | vstinner | set | messages: + msg247264 |
| 2015年07月24日 05:46:42 | pankaj.s01 | set | nosy:
+ benjamin.peterson |
| 2015年05月27日 17:34:50 | r.david.murray | set | nosy:
+ vstinner |
| 2015年05月27日 16:30:45 | pankaj.s01 | create | |