mirror of
https://github.com/python/cpython.git
synced 2026-05-12 15:39:22 -04:00
60ce8f0be6
Reverts commit e653d4d8e8 and makes
parsing even more strict. Like socket.inet_pton() any leading zero
is now treated as invalid input.
Signed-off-by: Christian Heimes <christian@python.org>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>