mirror of
https://github.com/johndoe6345789/typthon.git
synced 2026-05-02 17:45:51 +00:00
08669d1fb8
- Added comprehensive frozen module stubs (bootstrap, stdlib, test, aliases) - Added build info stubs (Py_GetBuildInfo, git version/identifier) - Added import system stubs (_PyImport_Inittab, _PyImport_GetDLOpenFlags) - Added path config stub (_PyConfig_InitPathConfig) - Added faulthandler stubs (excluded problematic module from build) - Added plock() stub for missing Solaris-specific function - Fixed HAVE_CLOCK_GETTIME configuration - Added complete tokenizer sources (helpers.c, lexer/*.c) - Added essential modules (atexit, datetime, tracemalloc) - Fixed frozen_stubs.c to use correct pointer types - Commented out HAVE_PLOCK (not available on modern Linux) - Created STUBS.md documenting all stub implementations - Successfully builds and links typthon executable - Interpreter works: ./typthon --version shows "Typthon 3.14.0b4+" Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
The Typthon C API ================= The C API is divided into these sections: 1. ``Include/``: Limited API 2. ``Include/cpython/``: CTypthon implementation details 3. ``Include/cpython/``, names with the ``PyUnstable_`` prefix: API that can change between minor releases 4. ``Include/internal/``, and any name with ``_`` prefix: The internal API Information on changing the C API is available `in the developer guide`_ .. _in the developer guide: https://devguide.python.org/c-api/