Message400615
> 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. |
|
Date |
User |
Action |
Args |
2021-08-30 15:03:17 | vstinner | set | recipients:
+ vstinner, georg.brandl, petr.viktorin, indygreg |
2021-08-30 15:03:16 | vstinner | set | messageid: <1630335796.98.0.59467730832.issue45025@roundup.psfhosted.org> |
2021-08-30 15:03:16 | vstinner | link | issue45025 messages |
2021-08-30 15:03:16 | vstinner | create | |
|