New submission from Serhiy Storchaka <storchaka+cpyt...@gmail.com>:

zoneinfo uses locale depending functions isalpha(), isdigit(), isalnum() to 
parse data. It may be correct when parse the TZ environment variable (although 
they do not work with multibytes locale encodings like UTF-8), I think that 
parsing the content of data files should not rely on current locale. Later the 
parsed data is decoded implying UTF-8 (for abbr) or ASCII (for numbers).

----------
components: Library (Lib)
messages: 383313
nosy: p-ganssle, serhiy.storchaka
priority: normal
severity: normal
status: open
title: zoneinfo uses locale depending functions for parsing
type: behavior
versions: Python 3.10, Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42676>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to