On Wed, Mar 01, 2023 at 03:15:22PM +0000, [email protected] wrote: > ValueError: invalid literal for int() with base 10: '²²²²²²²²²²' > > Probably a bug in _checkNumber(): > https://github.com/lxml/lxml/blob/d01872ccdf7e1e5e825b6c6292b43e7d27ae5fc4/src/lxml/objectify.pyx#L974
str.isdigit() accepts many Unicode characters classified as digits
that int() rejects.
Marius Gedminas
--
Please note that I only check linux-utf8 on Tuesdays when they happen
on a tenth of December, so please CC me with any replies.
-- Juliusz Chroboczek
signature.asc
Description: PGP signature
_______________________________________________ lxml - The Python XML Toolkit mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/lxml.python.org/ Member address: [email protected]
