This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients georg.brandl, indygreg, petr.viktorin, vstinner
Date 2021-08-30.15:03:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> 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:17vstinnersetrecipients: + vstinner, georg.brandl, petr.viktorin, indygreg
2021-08-30 15:03:16vstinnersetmessageid: <>
2021-08-30 15:03:16vstinnerlinkissue45025 messages
2021-08-30 15:03:16vstinnercreate