[New-bugs-announce] [issue39593] Adding a unit test of ctypes
report at bugs.python.org
Sun Feb 9 11:17:25 EST 2020
New submission from hai shi <shihai1991 at 126.com>:
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:( ).
title: Adding a unit test of ctypes
versions: Python 3.9
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce