diff options
author | Antoine Pitrou <antoine@python.org> | 2020-04-20 19:22:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-20 19:22:50 (GMT) |
commit | 887ff8e37e238fbce18c647e588283904f38ab24 (patch) | |
tree | 51e36929d3e7dcf3b89c54054028faf664bc4cf9 /Objects/codeobject.c | |
parent | 81de3c225774179cdc82a1733a64e4a876ff02b5 (diff) | |
download | cpython-887ff8e37e238fbce18c647e588283904f38ab24.zip cpython-887ff8e37e238fbce18c647e588283904f38ab24.tar.gz cpython-887ff8e37e238fbce18c647e588283904f38ab24.tar.bz2 |
[3.8] bpo-40330: Fix utf-8 size check in ShareableList (GH-19606) (GH-19625)
The item size must be checked after encoding to bytes, not before.
Automerge-Triggered-By: @pitrou.
(cherry picked from commit eba9f6155df59c9beed97fb5764c9f01dd941af0)
Co-authored-by: Antoine Pitrou <antoine@python.org>
Diffstat (limited to 'Objects/codeobject.c')
0 files changed, 0 insertions, 0 deletions