STINNER Victor <vstin...@python.org> added the comment:
> At least the PyASCIIObject struct in Include/cpython/unicodeobject.h uses bit > fields. Various preprocessor macros like PyUnicode_IS_ASCII() and > PyUnicode_KIND() access this struct's bit field. What is your use case? Which functions do you need? You should not access directly the PyASCIIObject structure. Python provides many functions to access the content of a Unicode string object. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45025> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com