[issue41530] Unhandled exceptions in zoneinfo.ZoneInfo constructor

2020-08-12 Thread Joshua
Joshua added the comment: tzdata was installed as an admin user, however this behaviour was reproducible on a linux installation where for the ZoneInfo.('Pacific') instance an IsADirectoryError would instead be raised. On Wed, Aug 12, 2020 at 9:50 PM STINNER Victor wrote: > > STINNER Victor

[issue41530] Unhandled exceptions in zoneinfo.ZoneInfo constructor

2020-08-12 Thread STINNER Victor
STINNER Victor added the comment: Hi. It seems like you are running Windows. About the permission error, how did you install tzdata? Did you install it as an admin user and do you run Python as a different user? -- nosy: +vstinner ___ Python track

[issue41530] Unhandled exceptions in zoneinfo.ZoneInfo constructor

2020-08-12 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue41530] Unhandled exceptions in zoneinfo.ZoneInfo constructor

2020-08-12 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 1.0 -> 2.0 pull_requests: +20967 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21839 ___ Python tracker _

[issue41530] Unhandled exceptions in zoneinfo.ZoneInfo constructor

2020-08-12 Thread Joshua
New submission from Joshua : Attempting to parse specific keys in zoneinfo.ZoneInfo with tzdata installed will raise unhandled exceptions e.g. on windows >>> import zoneinfo >>> zoneinfo.ZoneInfo('Pacific') PermissionError: [Errno 13] Permission denied: 'C:\\Program Files\\Python39\\lib\\sit