New submission from hai shi <shihai1...@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:( ). ---------- components: Tests messages: 361656 nosy: shihai1991 priority: normal severity: normal status: open title: Adding a unit test of ctypes type: enhancement versions: Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39593> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com