[proxy] github.com← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light

bpo-40330: Fix utf-8 size check in ShareableList by pitrou · Pull Request #19606 · python/cpython

pitrou

The item size must be checked after encoding to bytes, not before.

pitrou added a commit to pitrou/cpython that referenced this pull request

Apr 20, 2020
The item size must be checked after encoding to bytes, not before.

Automerge-Triggered-By: @pitrou.
(cherry picked from commit eba9f61)

Co-authored-by: Antoine Pitrou <antoine@python.org>

pitrou deleted the bpo40330-utf8-size-validation branch

April 20, 2020 19:00

pitrou added a commit that referenced this pull request

Apr 20, 2020
…-19625)

The item size must be checked after encoding to bytes, not before.

Automerge-Triggered-By: @pitrou.
(cherry picked from commit eba9f61)

Co-authored-by: Antoine Pitrou <antoine@python.org>