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 shihai1991
Recipients shihai1991
Date 2020-02-09.16:17:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1581265045.65.0.359928840546.issue39593@roundup.psfhosted.org>
In-reply-to
Content
strlen(data) can not be replaced by Py_SIZE(value) in https://github.com/python/cpython/blob/master/Modules/_ctypes/cfield.c#L1297.

victor have give a great example about it in https://github.com/python/cpython/pull/18419

I create this bpo for two reasons:
1. This question info could be removed(some questions info will catch my attention)
2. Current tests should be enhanced(It can not help me found this backward incompatible:( ).
History
Date User Action Args
2020-02-09 16:17:25shihai1991setrecipients: + shihai1991
2020-02-09 16:17:25shihai1991setmessageid: <1581265045.65.0.359928840546.issue39593@roundup.psfhosted.org>
2020-02-09 16:17:25shihai1991linkissue39593 messages
2020-02-09 16:17:25shihai1991create