Comment 2 for bug 1834363

Revision history for this message
Peter Baumgartner (ipmb) wrote :

Thanks for following up!

The issue I'm running into is that __file__ results in a NameError so it never gets to that loader.

What do you think about something like this which prefers 3.7's importlib.resources (or its backport) then falls back on the existing methods?

It also requires dropping __init__.py's in the zoneinfo directories and a little tweaking to setup.py to identify the new packages.