Comment 9 for bug 207604

Revision history for this message
RodrigoMoraes (rodrigo-moraes) wrote :

Petr,
I'm not sure I understand what you're doing there.

Checking all files in the module globals is what I'm trying to avoid. We zip the zoneinfo for appengine, because of limits in number of files. In the end this results in 500+ not raised IOErrors when pytz is imported (which alone takes .15 to .40 seconds). Without it, pytz loading is unnoticeable.

I'll try to make a patch to make the file list lazily loaded (and thus monkeypatchable).