Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Oct 4, 2023

No description provided.

@vstinner vstinner marked this pull request as draft October 4, 2023 14:46
@vstinner
Copy link
Member Author

vstinner commented Oct 4, 2023

Wait until the API is added upstream: python/cpython#110297

@serhiy-storchaka
Copy link
Member

You need to at least save and restore the exception as in PyDict_GetItem().

@vstinner vstinner marked this pull request as ready for review October 12, 2023 09:39
Add PyUnicode_EqualToUTF8() and PyUnicode_EqualToUTF8AndSize()
functions.
@vstinner vstinner merged commit 99ab0d3 into python:main Oct 12, 2023
@vstinner vstinner deleted the equalutf8 branch October 12, 2023 10:00
@vstinner
Copy link
Member Author

You need to at least save and restore the exception as in PyDict_GetItem().

Right, done. I added a test for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants