We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2eaf1cf commit 4fa26a8Copy full SHA for 4fa26a8
Include/cpython/unicodeobject.h
@@ -198,7 +198,7 @@ typedef struct {
198
/* Use only if you know it's a string */
199
static inline unsigned int PyUnicode_CHECK_INTERNED(PyObject *op) {
200
#ifdef Py_GIL_DISABLED
201
- return _Py_atomic_load_uint8_relaxed(&_PyASCIIObject_CAST(op)->state.interned);
+ return _Py_atomic_load_uint16_relaxed(&_PyASCIIObject_CAST(op)->state.interned);
202
#else
203
return _PyASCIIObject_CAST(op)->state.interned;
204
#endif
0 commit comments