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:
copilot-swe-agent[bot]
2025-12-28 23:02:35 +00:00
parent 723ac3a727
commit 8ef95afaa0

View File

@@ -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 */