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
UCS4 support functions are not implemented #73273
Comments
There is a special section in the documentation of Unicode Objects C API: UCS4 Support. https://docs.python.org/3/c-api/unicode.html#ucs4-support It documents utility functions that work on strings of Py_UCS4 characters like Py_UCS4_strlen(), Py_UCS4_strcpy(), etc. But none of these functions is implemented. May be the documentation should be just removed? |
I recall that the very first implementation of the PEP-393 (compact strings) was heavily based on UCS4. Slowly, I optimized the code by specializing functions to each kind of string (ACSII, Latin1, UCS2, UCS4). |
Py_UCS4_strlen() added by: changeset: 72475:8beaa9a37387 Removed by: changeset: 73236:80a7ab9ac29f 80a7ab9ac29f came before Python 3.3.0: haypo@selma$ hg log -r v3.3.0 Py_UCS4_strlen() was documented but was never part of any public Python release. => you can remove the doc. |
New changeset 29d46d29e169 by Serhiy Storchaka in branch '3.5': New changeset e44b6b01c8cf by Serhiy Storchaka in branch '3.6': New changeset 0ec4befef7e0 by Serhiy Storchaka in branch 'default': |
Thanks Victor. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: