copilot-swe-agent[bot]
ab21f072ba
Fix remaining Py_ patterns - macros and config functions
...
- Fixed Py_MIN, Py_MAX, Py_ABS → Ty_*
- Fixed _Py_popcount32, _Py_bit_length → _Ty_*
- Fixed Py_ISALPHA, Py_ISSPACE, Py_CHARMASK → Ty_*
- Fixed Py_BUILD_ASSERT, Py_VISIT → Ty_*
- Fixed all PyConfig_* function definitions (InitPythonConfig, Clear, SetArgv, etc.)
- Fixed PyWideStringList → TyWideStringList
Resolving final linking errors.
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com >
2025-12-29 19:30:40 +00:00
copilot-swe-agent[bot]
a4901966cb
Fix more Py_ patterns - preconfig, stat, slots, strings
...
- Fixed PyPreConfig → TyPreConfig
- Fixed _Py_PreInitializeFromPyArgv → _Ty_PreInitializeFromPyArgv
- Fixed struct _Py_stat_struct → struct _Ty_stat_struct
- Fixed _Py_fstat_noraise → _Ty_fstat_noraise
- Fixed _Py_NO_RETURN → _Ty_NO_RETURN
- Fixed Py_tp_* slot patterns (tp_free, tp_dealloc, tp_repr, etc.)
- Fixed Py_mod_* module slot patterns
- Fixed Py_MAX_SCRIPT_PATH_SIZE, Py_RTFLAGS_FORK
- Fixed _Py_DECLARE_STR, _Py_STR → _Ty_DECLARE_STR, _Ty_STR
Build progressing further.
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com >
2025-12-29 19:01:05 +00:00
copilot-swe-agent[bot]
210fb1519d
Fix exception objects and more Py_ patterns
...
- Fixed all exception object types: Py*ErrorObject → Ty*ErrorObject
- Fixed Py*ExceptionObject → Ty*ExceptionObject
- Fixed Py*GroupObject, PyStopIterationObject, PySystemExitObject
- Fixed Py_ASNATIVEBYTES_* → Ty_ASNATIVEBYTES_*
- Fixed Py_SAFE_DOWNCAST → Ty_SAFE_DOWNCAST
Build is progressing through more files.
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com >
2025-12-29 18:34:50 +00:00
copilot-swe-agent[bot]
71cf7bf14f
Fix more missed Py_ patterns - opcode, thread, exception
...
Fixed additional patterns:
- _PyOpcode_* → _TyOpcode_* (all opcode metadata)
- _PyUOpName → _TyUOpName
- _PyFunction_* → _TyFunction_*
- _PyListIterObject → _TyListIterObject
- _Py_T_OBJECT → _Ty_T_OBJECT
- Py_BEGIN_ALLOW_THREADS, Py_END_ALLOW_THREADS → Ty_*
- PyDoc_STRVAR, PyDoc_STR → TyDoc_*
- PyInterpreterState, PyThread_*, PyTime_t → Ty*
- PyStructSequence_* → TyStructSequence_*
- PyLockStatus → TyLockStatus
- PyVarObject_HEAD_INIT → TyVarObject_HEAD_INIT
- PyBaseExceptionObject → TyBaseExceptionObject
- Fixed _PyExc_ → _TyExc_ in exception macros
Build is progressing further.
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com >
2025-12-29 18:27:36 +00:00
copilot-swe-agent[bot]
3ce4b26be2
Continue fixing Py_ to Ty_ renaming - fix missed patterns
...
Fixed additional patterns that were missed in the initial renaming:
- PyThreadState → TyThreadState (typedef and all uses)
- PyMem_RawFree → TyMem_RawFree
- Py_buffer → Ty_buffer
- Py_CLEANUP_SUPPORTED → Ty_CLEANUP_SUPPORTED
- PyStatus → TyStatus and PyStatus_NoMemory → TyStatus_NoMemory
- _Py__has_builtin → _Ty__has_builtin
- _Py_SINGLETON → _Ty_SINGLETON
- _Py_CODEUNIT → _Ty_CODEUNIT
- _Py_BackoffCounter → _Ty_BackoffCounter
- _Py_slot_* and _Py_type_* patterns
Build is progressing with fewer errors.
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com >
2025-12-29 18:23:23 +00:00
copilot-swe-agent[bot]
b198f511d2
Rename Py_ to Ty_ throughout C API
...
Massive automated renaming of all Py_/PyObject/etc. prefixes to Ty_/TyObject/etc.
This includes:
- All public API types (TyObject, TyTypeObject, etc.)
- All public API functions (Ty_Initialize, Ty_BuildValue, etc.)
- All internal API (_Ty_ prefixes)
- Reference counting macros (Ty_INCREF, Ty_DECREF, etc.)
- Type flags (Ty_TPFLAGS_*)
- Debug flags (Ty_DEBUG, Ty_TRACE_REFS, etc.)
- All object type APIs (TyList_, TyDict_, TyUnicode_, etc.)
This changes over 60,000 occurrences across 1000+ files.
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com >
2025-12-29 17:37:49 +00:00
Richie Ward
9853be11ff
Initial 3.14 commit
2025-07-22 07:54:51 +01:00