SIGN IN SIGN UP

gh-156261: Move converters used in several files to Argument Clinic (GH-156262)

The pid_t, Py_off_t, HANDLE, DWORD and BOOL converters were defined in
9 files.  The Py_off_t type and its converter function are now shared too.
DWORD in _winapi is used with bitwise=True to keep accepting negative
values.

The pid_t converter is now used for the pid parameters in the
_remote_debugging module, which were declared as int.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
S
Serhiy Storchaka committed
2c47c65f2e140ba6a1519252c36f454df38196b9
Parent: 43a1869
Committed by GitHub <noreply@github.com> on 8/23/2026, 4:47:55 PM