[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: python3-dateutil

* Thomas Kluyver <thomas@kluyver.me.uk>, 2012-03-28, 22:33:
As far as I can see, the zoneinfo subpackage is used as a fallback by dateutil.tz.gettz() if it can't find the equivalent system timezone data files (the binary package has a dependency on tzdata). zoneinfo.gettz() appears to account for the possibility that its local data file doesn't exist, and returns None. I'm inclined to leave this behaviour intact in case code depends on it, although it's not how I'd design it myself. I've added a note in README.Debian pointing people to dateutil.tz.gettz().


Wouldn't it be better to update zoneinfo.gettz() tests to use tz.gettz(), instead of disabling them entirely?

Please add get-orig-source target.

The copyright file mentions dateutil/zoneinfo/zoneinfo-2011d.tar.gz, which doesn't exist in .orig.tar anymore.

Jakub Wilk

Reply to: