…sizes (
pythonGH-93602)
*
pythongh-93575: Use correct way to calculate PyUnicode struct sizes
* Add comment to keep test_sys and test_unicode in sync
* Fix case code < 256.
(cherry picked from commit
5442561)
Co-authored-by: Christian Heimes <christian@python.org>
test_unicode test_raiseMemError miscalculates struct size when string has UTF-8 representation. #93575: Use correct way to calculate PyUnicode struct sizes
Add comment to keep test_sys and test_unicode in sync
Fix case code < 256.
(cherry picked from commit 5442561)
Co-authored-by: Christian Heimes christian@python.org