[issue41530] zoneinfo: ZoneInfo raises IsADirectoryError instead of ZoneInfoNotFoundError

Joshua report at bugs.python.org
Wed Aug 12 10:46:45 EDT 2020


Joshua <josh.ja.butt at gmail.com> added the comment:

I'll reopen the PR with an attempted resolution of the OSError related
issues however. In my quick testing it seems at least on Linux
backports.zoneinfo segfaults when trying `ZoneInfo('__init__.py')` so that
might be a larger issue for Paul to look into.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41530>
_______________________________________


More information about the Python-bugs-list mailing list