mirror of
https://github.com/johndoe6345789/typthon.git
synced 2026-04-24 13:45:05 +00:00
Fix and enable faulthandler module compilation
- Fixed non-constant initializer error by replacing Py_ARRAY_LENGTH with sizeof - Enabled faulthandler.c in CMakeLists.txt - Removed faulthandler stubs from frozen_stubs.c - Updated STUBS.md to reflect faulthandler is now functional Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
This commit is contained in:
@@ -66,19 +66,6 @@ _PyConfig_InitPathConfig(PyConfig *config, int compute_path_config)
|
||||
return PyStatus_Ok();
|
||||
}
|
||||
|
||||
/* Faulthandler stubs - module excluded from build */
|
||||
int
|
||||
_PyFaulthandler_Init(int enable)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
void
|
||||
_PyFaulthandler_Fini(void)
|
||||
{
|
||||
/* No-op */
|
||||
}
|
||||
|
||||
/* plock stub - not available on all systems */
|
||||
#ifndef HAVE_PLOCK
|
||||
int plock(int op)
|
||||
|
||||
Reference in New Issue
Block a user