Comment 5 for bug 244681

Revision history for this message
Edwin Grubbs (edwin-grubbs) wrote :

pytz.timezone() should also catch the IOError and throw a pytz.UnknownTimeZoneError even though it is very unlikely to occur if pytz.all_timezones_set is clean, but that also depends on whether they are preloaded or if all_timezones_set is just verified with os.path.isfile().