8000 gh-115999: Enable BINARY_SUBSCR_GETITEM for free-threaded build by corona10 · Pull Request #127737 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-115999: Enable BINARY_SUBSCR_GETITEM for free-threaded build #127737

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 18 commits into from
Dec 19, 2024
Prev Previous commit
Next Next commit
Fix for windows build
  • Loading branch information
corona10 committed Dec 8, 2024
commit a059e688e05b3bd0f4d15c0abc9623ed00db5d1b
4 changes: 2 additions & 2 deletions Include/internal/pycore_typeobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,9 @@ typedef int (*_py_validate_type)(PyTypeObject *);
// It will verify the ``ty`` through user-defined validation function ``validate``,
// and if the validation is passed, it will set the ``tp_version`` as valid
// tp_version_tag from the ``ty``.
extern int _PyType_Validate(PyTypeObject *ty, _py_validate_type validate, unsigned int *tp_version);
extern PyObject *_PyType_GetItemFromCache(PyTypeObject *type);
extern PyObject *_PyType_GetItemFromCacheWithVersion(PyTypeObject *type, uint32_t *version);
PyAPI_FUNC(int) _PyType_Validate(PyTypeObject *ty, _py_validate_type validate, unsigned int *tp_version);
PyAPI_FUNC(PyObject *) _PyType_GetItemFromCacheWithVersion(PyTypeObject *type, uint32_t *version);
extern int _PyType_CacheGetItemForSpecialization(PyTypeObject *type, PyObject *descriptor);

#ifdef __cplusplus
Expand Down
Loading
0