Skip to content

[3.13] gh-128013: fix data race in PyUnicode_AsUTF8AndSize on free-threading (#128021)#128417

Merged
kumaraditya303 merged 4 commits intopython:3.13from
kumaraditya303:bp
Jan 2, 2025
Merged

[3.13] gh-128013: fix data race in PyUnicode_AsUTF8AndSize on free-threading (#128021)#128417
kumaraditya303 merged 4 commits intopython:3.13from
kumaraditya303:bp

Conversation

@kumaraditya303
Copy link
Copy Markdown
Contributor

@kumaraditya303 kumaraditya303 commented Jan 2, 2025

vstinner and others added 2 commits January 2, 2025 14:39
…128061)

Convert unicodeobject.c macros to static inline functions.

* Add _PyUnicode_SET_UTF8() and _PyUnicode_SET_UTF8_LENGTH() macros.
* Add PyUnicode_HASH() and PyUnicode_SET_HASH() macros.
* Remove unused _PyUnicode_KIND() and _PyUnicode_GET_LENGTH() macros.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants