8000 gh-122320: Add ``_testinternalcapi.is_dict_version_overflowed`` by Eclips4 · Pull Request #122324 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-122320: Add _testinternalcapi.is_dict_version_overflowed #122324

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

Closed
wants to merge 10 commits into from
Closed
Prev Previous commit
Next Next commit
Update header
  • Loading branch information
Eclips4 committed Aug 2, 2024
commit 8e4402bb95b935d0ccda29027c070be76fdd9f0c
3 changes: 2 additions & 1 deletion Include/internal/pycore_dict.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ extern PyObject *_PyDict_FromKeys(PyObject *, PyObject *, PyObject *);

/* Gets a version number unique to the current state of the keys of dict, if possible.
* Returns the version number, or zero if it was not possible to get a version number. */
extern uint32_t _PyDictKeys_GetVersionForCurrentState(
// Export for '_testinternalcapi' extension
PyAPI_FUNC(uint32_t) _PyDictKeys_GetVersionForCurrentState(
PyInterpreterState *interp, PyDictKeysObject *dictkeys);

extern size_t _PyDict_KeysSize(PyDictKeysObject *keys);
Expand Down
Loading
0