python-dateutil should use system-wide zoneinfo data

Bug #1021048 reported by Tomi Hukkalainen
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
dateutil
New
Undecided
Unassigned

Bug Description

Originally reported at https://bugzilla.redhat.com/show_bug.cgi?id=729786, informed by email. Here's the given description of the bug:

python-dateutil installs a tarball with compiled zoneinfo files to Python's site-packages directory. To actually get the data, the code then extracts the requested zone from the tarball and reads it. This scheme is problematic to keep up to date (the data in current rawhide is from 2010, the data in my f14 from 2008), and needlessly complicated. I'd like to propose that files from /usr/share/zoneinfo are instead opened directly. It shouldn't be necessary to install the tarball at all.

Version-Release number of selected component (if applicable):
1.5-1

How reproducible:
Always.

Steps to Reproduce:
$ python -c 'import dateutil.zoneinfo; print dateutil.zoneinfo.gettz ("America/Bahia_Banderas")'

Actual results:
None

Expected results:
tzfile('America/Bahia_Banderas')

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.