We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4dc9f4 commit fd9ce71Copy full SHA for fd9ce71
1 file changed
Lib/zoneinfo/_common.py
@@ -10,6 +10,7 @@ def load_tzdata(key):
10
11
try:
12
path = resources.files(package_name).joinpath(resource_name)
13
+ # gh-85702: Prevent PermissionError on Windows
14
if path.is_dir():
15
raise IsADirectoryError
16
return path.open("rb")
0 commit comments