Skip to content

Use tz.gettz() instead of zoneinfo.gettz() #11688

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Conversation

jlec
Copy link
Contributor

@jlec jlec commented Nov 24, 2015

zoneinfo.gettz() seems to have problems (1 & 2) on system which do not install
the zoninfo tarball (e.g. Debian, Gentoo and Fedora) but rely on the system
zoneinfo files. This results in test failures (3 & 4)
tz.gettz() doesn't suffer from this problem.

1 dateutil/dateutil#8
2 dateutil/dateutil#11
3 #9059
4 #8639

Signed-off-by: Justin Lecher [email protected]

import imp; imp.load_module("Jinja2", *imp.find_module("Jinja2"))

raises ImportError, where as the lowercase version works fine.

Signed-off-by: Justin Lecher <[email protected]>
@jreback
Copy link
Contributor

jreback commented Nov 24, 2015

looks like some older comments here (and commit message) can u fix

@jlec
Copy link
Contributor Author

jlec commented Nov 24, 2015

Sorry for the noise

@jlec jlec closed this Nov 24, 2015
@jlec jlec deleted the jinja2 branch November 24, 2015 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants