mirror of
https://github.com/johndoe6345789/typthon.git
synced 2026-04-24 13:45:05 +00:00
Fix remaining issues in STUBS.md: terminology, file paths, and formatting
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
This commit is contained in:
6
STUBS.md
6
STUBS.md
@@ -14,7 +14,7 @@ All stubs are implemented in: `Python/frozen_stubs.c`
|
|||||||
|
|
||||||
**Stubs Created**:
|
**Stubs Created**:
|
||||||
- `_PyImport_FrozenBootstrap` - Bootstrap frozen modules
|
- `_PyImport_FrozenBootstrap` - Bootstrap frozen modules
|
||||||
- `_PyImport_FrozenStdlib` - Standard library frozen modules
|
- `_PyImport_FrozenStdlib` - Standard library frozen modules
|
||||||
- `_PyImport_FrozenTest` - Test frozen modules
|
- `_PyImport_FrozenTest` - Test frozen modules
|
||||||
- `PyImport_FrozenModules` - Main frozen modules array
|
- `PyImport_FrozenModules` - Main frozen modules array
|
||||||
- `_PyImport_FrozenAliases` - Frozen module aliases
|
- `_PyImport_FrozenAliases` - Frozen module aliases
|
||||||
@@ -78,7 +78,7 @@ All stubs are implemented in: `Python/frozen_stubs.c`
|
|||||||
**Stubs Created**:
|
**Stubs Created**:
|
||||||
- `plock()` - Process memory locking (Solaris-specific)
|
- `plock()` - Process memory locking (Solaris-specific)
|
||||||
|
|
||||||
**Implementation**: Returns -1 with errno set to `ENOSYS` (not implemented). Also removed `HAVE_PLOCK` from pyconfig.h.
|
**Implementation**: Returns -1 with errno set to `ENOSYS` (not implemented). Also commented out `HAVE_PLOCK` in `Include/pyconfig.h`.
|
||||||
|
|
||||||
**Note**: `plock()` is a legacy Solaris function not available on modern Linux systems.
|
**Note**: `plock()` is a legacy Solaris function not available on modern Linux systems.
|
||||||
|
|
||||||
@@ -86,7 +86,7 @@ All stubs are implemented in: `Python/frozen_stubs.c`
|
|||||||
|
|
||||||
### pyconfig.h Modifications
|
### pyconfig.h Modifications
|
||||||
|
|
||||||
The following configuration define was commented out:
|
The following configuration define was commented out in `Include/pyconfig.h`:
|
||||||
|
|
||||||
```c
|
```c
|
||||||
/* plock is not available on modern Linux systems */
|
/* plock is not available on modern Linux systems */
|
||||||
|
|||||||
Reference in New Issue
Block a user