]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-93575: Use correct way to calculate PyUnicode struct sizes (GH-93602)
authorChristian Heimes <christian@python.org>
Wed, 8 Jun 2022 18:18:08 +0000 (20:18 +0200)
committerGitHub <noreply@github.com>
Wed, 8 Jun 2022 18:18:08 +0000 (20:18 +0200)
commit5442561c1a094b68900198bade616da9ed509ac8
treebaa10e0216d4e5ffadc32624b9c7acac23e14807
parent2dece908085e719d2345ea80ea174fa6a4473851
gh-93575: Use correct way to calculate PyUnicode struct sizes (GH-93602)

* gh-93575: Use correct way to calculate PyUnicode struct sizes

* Add comment to keep test_sys and test_unicode in sync

* Fix case code < 256
Lib/test/test_sys.py
Lib/test/test_unicode.py
Misc/NEWS.d/next/Tests/2022-06-08-14-17-59.gh-issue-93575.Xb2LNB.rst [new file with mode: 0644]