Hello community, here is the log from the commit of package python3-pytz for openSUSE:Factory checked in at 2013-10-23 13:12:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-pytz (Old) and /work/SRC/openSUSE:Factory/.python3-pytz.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-pytz" Changes: -------- --- /work/SRC/openSUSE:Factory/python3-pytz/python3-pytz.changes 2013-06-21 19:08:58.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python3-pytz.new/python3-pytz.changes 2013-10-23 13:12:30.000000000 +0200 @@ -1,0 +2,8 @@ +Tue Oct 22 14:44:37 UTC 2013 - [email protected] + +- Update to version 2013.7: + + No changes +- update to 2013d: + * sync with timezone 2013d release + +------------------------------------------------------------------- Old: ---- pytz-2013b.tar.bz2 New: ---- pytz-2013.7.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-pytz.spec ++++++ --- /var/tmp/diff_new_pack.NTIGxe/_old 2013-10-23 13:12:30.000000000 +0200 +++ /var/tmp/diff_new_pack.NTIGxe/_new 2013-10-23 13:12:30.000000000 +0200 @@ -17,7 +17,7 @@ Name: python3-pytz -Version: 2013b +Version: 2013.7 Release: 0 Url: http://pytz.sourceforge.net Summary: World timezone definitions, modern and historical @@ -25,13 +25,13 @@ Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/p/pytz/pytz-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build -Provides: python3-tz = 2013b -Obsoletes: python3-tz < 2013b BuildRequires: fdupes BuildRequires: python3 BuildRequires: python3-devel -BuildRequires: python3-distribute +BuildRequires: python3-setuptools #BuildRequires: python3-nose +Provides: python3-tz = 2013b +Obsoletes: python3-tz < 2013b BuildArch: noarch %description @@ -62,6 +62,7 @@ %files %defattr(-,root,root,-) %doc LICENSE.txt README.txt -%{python3_sitelib}/* +%{python3_sitelib}/pytz/ +%{python3_sitelib}/pytz-%{version}-py*.egg-info %changelog ++++++ pytz-2013b.tar.bz2 -> pytz-2013.7.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytz-2013b/PKG-INFO new/pytz-2013.7/PKG-INFO --- old/pytz-2013b/PKG-INFO 2013-03-14 18:51:06.000000000 +0100 +++ new/pytz-2013.7/PKG-INFO 2013-10-02 06:28:19.000000000 +0200 @@ -1,8 +1,8 @@ Metadata-Version: 1.1 Name: pytz -Version: 2013b +Version: 2013.7 Summary: World timezone definitions, modern and historical -Home-page: http://pytz.sourceforge.net +Home-page: http://pythonhosted.org/pytz Author: Stuart Bishop Author-email: [email protected] License: MIT @@ -23,16 +23,18 @@ Almost all of the Olson timezones are supported. - Note that this library differs from the documented Python API for - tzinfo implementations; if you want to create local wallclock - times you need to use the ``localize()`` method documented in this - document. In addition, if you perform date arithmetic on local - times that cross DST boundaries, the result may be in an incorrect - timezone (ie. subtract 1 minute from 2002-10-27 1:00 EST and you get - 2002-10-27 0:59 EST instead of the correct 2002-10-27 1:59 EDT). A - ``normalize()`` method is provided to correct this. Unfortunately these - issues cannot be resolved without modifying the Python datetime - implementation. + .. note:: + + This library differs from the documented Python API for + tzinfo implementations; if you want to create local wallclock + times you need to use the ``localize()`` method documented in this + document. In addition, if you perform date arithmetic on local + times that cross DST boundaries, the result may be in an incorrect + timezone (ie. subtract 1 minute from 2002-10-27 1:00 EST and you get + 2002-10-27 0:59 EST instead of the correct 2002-10-27 1:59 EDT). A + ``normalize()`` method is provided to correct this. Unfortunately these + issues cannot be resolved without modifying the Python datetime + implementation (see PEP-431). Installation @@ -542,7 +544,7 @@ it. pytz is a direct translation of the Olson timezone database, and changes to the timezone definitions need to be made to this source. If you find errors they should be reported to the time zone mailing - list, linked from http://www.twinsun.com/tz/tz-link.htm + list, linked from http://www.iana.org/time-zones. Further Reading diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytz-2013b/README.txt new/pytz-2013.7/README.txt --- old/pytz-2013b/README.txt 2013-03-14 18:46:41.000000000 +0100 +++ new/pytz-2013.7/README.txt 2013-10-02 06:26:07.000000000 +0200 @@ -14,16 +14,18 @@ Almost all of the Olson timezones are supported. -Note that this library differs from the documented Python API for -tzinfo implementations; if you want to create local wallclock -times you need to use the ``localize()`` method documented in this -document. In addition, if you perform date arithmetic on local -times that cross DST boundaries, the result may be in an incorrect -timezone (ie. subtract 1 minute from 2002-10-27 1:00 EST and you get -2002-10-27 0:59 EST instead of the correct 2002-10-27 1:59 EDT). A -``normalize()`` method is provided to correct this. Unfortunately these -issues cannot be resolved without modifying the Python datetime -implementation. +.. note:: + + This library differs from the documented Python API for + tzinfo implementations; if you want to create local wallclock + times you need to use the ``localize()`` method documented in this + document. In addition, if you perform date arithmetic on local + times that cross DST boundaries, the result may be in an incorrect + timezone (ie. subtract 1 minute from 2002-10-27 1:00 EST and you get + 2002-10-27 0:59 EST instead of the correct 2002-10-27 1:59 EDT). A + ``normalize()`` method is provided to correct this. Unfortunately these + issues cannot be resolved without modifying the Python datetime + implementation (see PEP-431). Installation @@ -533,7 +535,7 @@ it. pytz is a direct translation of the Olson timezone database, and changes to the timezone definitions need to be made to this source. If you find errors they should be reported to the time zone mailing - list, linked from http://www.twinsun.com/tz/tz-link.htm + list, linked from http://www.iana.org/time-zones. Further Reading diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytz-2013b/pytz/__init__.py new/pytz-2013.7/pytz/__init__.py --- old/pytz-2013b/pytz/__init__.py 2013-03-14 18:46:41.000000000 +0100 +++ new/pytz-2013.7/pytz/__init__.py 2013-10-02 06:26:07.000000000 +0200 @@ -9,11 +9,9 @@ ''' # The Olson database is updated several times a year. -OLSON_VERSION = '2013b' -VERSION = OLSON_VERSION -# Version format for a patch release - only one so far. -#VERSION = OLSON_VERSION + '.2' -__version__ = OLSON_VERSION +OLSON_VERSION = '2013g' +VERSION = '2013.7' # Switching to pip compatible version numbering. +__version__ = VERSION OLSEN_VERSION = OLSON_VERSION # Old releases had this misspelling @@ -26,10 +24,6 @@ ] import sys, datetime, os.path, gettext -try: - from UserDict import DictMixin -except ImportError: - from collections import Mapping as DictMixin try: from pkg_resources import resource_stream @@ -40,6 +34,7 @@ from pytz.exceptions import InvalidTimeError from pytz.exceptions import NonExistentTimeError from pytz.exceptions import UnknownTimeZoneError +from pytz.lazy import LazyDict, LazyList, LazySet from pytz.tzinfo import unpickler from pytz.tzfile import build_tzinfo, _byte_string @@ -292,36 +287,8 @@ _p.__safe_for_unpickling__ = True -class _LazyDict(DictMixin): - """Dictionary populated on first use.""" - data = None - def __getitem__(self, key): - if self.data is None: - self._fill() - return self.data[key.upper()] - - def __contains__(self, key): - if self.data is None: - self._fill() - return key in self.data - - def __iter__(self): - if self.data is None: - self._fill() - return iter(self.data) - - def __len__(self): - if self.data is None: - self._fill() - return len(self.data) - - def keys(self): - if self.data is None: - self._fill() - return self.data.keys() - -class _CountryTimezoneDict(_LazyDict): +class _CountryTimezoneDict(LazyDict): """Map ISO 3166 country code to a list of timezone names commonly used in that country. @@ -379,7 +346,7 @@ country_timezones = _CountryTimezoneDict() -class _CountryNameDict(_LazyDict): +class _CountryNameDict(LazyDict): '''Dictionary proving ISO3166 code -> English name. >>> print(country_names['au']) @@ -1099,10 +1066,10 @@ 'W-SU', 'WET', 'Zulu'] -all_timezones = [ - tz for tz in all_timezones if resource_exists(tz)] +all_timezones = LazyList( + tz for tz in all_timezones if resource_exists(tz)) -all_timezones_set = set(all_timezones) +all_timezones_set = LazySet(all_timezones) common_timezones = \ ['Africa/Abidjan', 'Africa/Accra', @@ -1284,7 +1251,6 @@ 'America/Santo_Domingo', 'America/Sao_Paulo', 'America/Scoresbysund', - 'America/Shiprock', 'America/Sitka', 'America/St_Barthelemy', 'America/St_Johns', @@ -1312,7 +1278,6 @@ 'Antarctica/McMurdo', 'Antarctica/Palmer', 'Antarctica/Rothera', - 'Antarctica/South_Pole', 'Antarctica/Syowa', 'Antarctica/Vostok', 'Arctic/Longyearbyen', @@ -1537,7 +1502,7 @@ 'US/Mountain', 'US/Pacific', 'UTC'] -common_timezones = [ - tz for tz in common_timezones if tz in all_timezones] +common_timezones = LazyList( + tz for tz in common_timezones if tz in all_timezones) -common_timezones_set = set(common_timezones) +common_timezones_set = LazySet(common_timezones) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytz-2013b/pytz/lazy.py new/pytz-2013.7/pytz/lazy.py --- old/pytz-2013b/pytz/lazy.py 1970-01-01 01:00:00.000000000 +0100 +++ new/pytz-2013.7/pytz/lazy.py 2013-10-02 06:26:07.000000000 +0200 @@ -0,0 +1,156 @@ +from threading import RLock +try: + from UserDict import DictMixin +except ImportError: + from collections import Mapping as DictMixin + + +# With lazy loading, we might end up with multiple threads triggering +# it at the same time. We need a lock. +_fill_lock = RLock() + + +class LazyDict(DictMixin): + """Dictionary populated on first use.""" + data = None + def __getitem__(self, key): + if self.data is None: + _fill_lock.acquire() + try: + if self.data is None: + self._fill() + finally: + _fill_lock.release() + return self.data[key.upper()] + + def __contains__(self, key): + if self.data is None: + _fill_lock.acquire() + try: + if self.data is None: + self._fill() + finally: + _fill_lock.release() + return key in self.data + + def __iter__(self): + if self.data is None: + _fill_lock.acquire() + try: + if self.data is None: + self._fill() + finally: + _fill_lock.release() + return iter(self.data) + + def __len__(self): + if self.data is None: + _fill_lock.acquire() + try: + if self.data is None: + self._fill() + finally: + _fill_lock.release() + return len(self.data) + + def keys(self): + if self.data is None: + _fill_lock.acquire() + try: + if self.data is None: + self._fill() + finally: + _fill_lock.release() + return self.data.keys() + + +class LazyList(list): + """List populated on first use.""" + def __new__(cls, fill_iter=None): + + if fill_iter is None: + return list() + + # We need a new class as we will be dynamically messing with its + # methods. + class LazyList(list): + pass + + _props = ( + '__str__', '__repr__', '__unicode__', + '__hash__', '__sizeof__', '__cmp__', + '__lt__', '__le__', '__eq__', '__ne__', '__gt__', '__ge__', + 'append', 'count', 'index', 'extend', 'insert', 'pop', 'remove', + 'reverse', 'sort', '__add__', '__radd__', '__iadd__', '__mul__', + '__rmul__', '__imul__', '__contains__', '__len__', '__nonzero__', + '__getitem__', '__setitem__', '__delitem__', '__iter__', + '__reversed__', '__getslice__', '__setslice__', '__delslice__') + + fill_iter = [fill_iter] + + def lazy(name): + def _lazy(self, *args, **kw): + _fill_lock.acquire() + try: + if len(fill_iter) > 0: + list.extend(self, fill_iter.pop()) + for method_name in _props: + delattr(LazyList, method_name) + finally: + _fill_lock.release() + return getattr(list, name)(self, *args, **kw) + return _lazy + + for name in _props: + setattr(LazyList, name, lazy(name)) + + new_list = LazyList() + return new_list + + +class LazySet(set): + """Set populated on first use.""" + def __new__(cls, fill_iter=None): + + if fill_iter is None: + return set() + + class LazySet(set): + pass + + _props = ( + '__str__', '__repr__', '__unicode__', + '__hash__', '__sizeof__', '__cmp__', + '__lt__', '__le__', '__eq__', '__ne__', '__gt__', '__ge__', + '__contains__', '__len__', '__nonzero__', + '__getitem__', '__setitem__', '__delitem__', '__iter__', + '__sub__', '__and__', '__xor__', '__or__', + '__rsub__', '__rand__', '__rxor__', '__ror__', + '__isub__', '__iand__', '__ixor__', '__ior__', + 'add', 'clear', 'copy', 'difference', 'difference_update', + 'discard', 'intersection', 'intersection_update', 'isdisjoint', + 'issubset', 'issuperset', 'pop', 'remove', + 'symmetric_difference', 'symmetric_difference_update', + 'union', 'update') + + fill_iter = [fill_iter] + + def lazy(name): + def _lazy(self, *args, **kw): + _fill_lock.acquire() + try: + if len(fill_iter) > 0: + for i in fill_iter.pop(): + set.add(self, i) + for method_name in _props: + delattr(LazySet, method_name) + finally: + _fill_lock.release() + return getattr(set, name)(self, *args, **kw) + return _lazy + + for name in _props: + setattr(LazySet, name, lazy(name)) + + new_set = LazySet() + return new_set diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytz-2013b/pytz/tests/test_tzinfo.py new/pytz-2013.7/pytz/tests/test_tzinfo.py --- old/pytz-2013b/pytz/tests/test_tzinfo.py 2013-03-14 18:46:41.000000000 +0100 +++ new/pytz-2013.7/pytz/tests/test_tzinfo.py 2013-10-02 06:26:07.000000000 +0200 @@ -21,7 +21,7 @@ # I test for expected version to ensure the correct version of pytz is # actually being tested. -EXPECTED_VERSION='2013b' +EXPECTED_VERSION='2013.7' fmt = '%Y-%m-%d %H:%M:%S %Z%z' Files old/pytz-2013b/pytz/zoneinfo/Africa/Casablanca and new/pytz-2013.7/pytz/zoneinfo/Africa/Casablanca differ Files old/pytz-2013b/pytz/zoneinfo/Africa/Juba and new/pytz-2013.7/pytz/zoneinfo/Africa/Juba differ Files old/pytz-2013b/pytz/zoneinfo/America/Anguilla and new/pytz-2013.7/pytz/zoneinfo/America/Anguilla differ Files old/pytz-2013b/pytz/zoneinfo/America/Araguaina and new/pytz-2013.7/pytz/zoneinfo/America/Araguaina differ Files old/pytz-2013b/pytz/zoneinfo/America/Argentina/San_Luis and new/pytz-2013.7/pytz/zoneinfo/America/Argentina/San_Luis differ Files old/pytz-2013b/pytz/zoneinfo/America/Aruba and new/pytz-2013.7/pytz/zoneinfo/America/Aruba differ Files old/pytz-2013b/pytz/zoneinfo/America/Asuncion and new/pytz-2013.7/pytz/zoneinfo/America/Asuncion differ Files old/pytz-2013b/pytz/zoneinfo/America/Cayman and new/pytz-2013.7/pytz/zoneinfo/America/Cayman differ Files old/pytz-2013b/pytz/zoneinfo/America/Dominica and new/pytz-2013.7/pytz/zoneinfo/America/Dominica differ Files old/pytz-2013b/pytz/zoneinfo/America/Godthab and new/pytz-2013.7/pytz/zoneinfo/America/Godthab differ Files old/pytz-2013b/pytz/zoneinfo/America/Grand_Turk and new/pytz-2013.7/pytz/zoneinfo/America/Grand_Turk differ Files old/pytz-2013b/pytz/zoneinfo/America/Grenada and new/pytz-2013.7/pytz/zoneinfo/America/Grenada differ Files old/pytz-2013b/pytz/zoneinfo/America/Guadeloupe and new/pytz-2013.7/pytz/zoneinfo/America/Guadeloupe differ Files old/pytz-2013b/pytz/zoneinfo/America/Jamaica and new/pytz-2013.7/pytz/zoneinfo/America/Jamaica differ Files old/pytz-2013b/pytz/zoneinfo/America/Marigot and new/pytz-2013.7/pytz/zoneinfo/America/Marigot differ Files old/pytz-2013b/pytz/zoneinfo/America/Montserrat and new/pytz-2013.7/pytz/zoneinfo/America/Montserrat differ Files old/pytz-2013b/pytz/zoneinfo/America/Santiago and new/pytz-2013.7/pytz/zoneinfo/America/Santiago differ Files old/pytz-2013b/pytz/zoneinfo/America/St_Barthelemy and new/pytz-2013.7/pytz/zoneinfo/America/St_Barthelemy differ Files old/pytz-2013b/pytz/zoneinfo/America/St_Kitts and new/pytz-2013.7/pytz/zoneinfo/America/St_Kitts differ Files old/pytz-2013b/pytz/zoneinfo/America/St_Lucia and new/pytz-2013.7/pytz/zoneinfo/America/St_Lucia differ Files old/pytz-2013b/pytz/zoneinfo/America/St_Thomas and new/pytz-2013.7/pytz/zoneinfo/America/St_Thomas differ Files old/pytz-2013b/pytz/zoneinfo/America/St_Vincent and new/pytz-2013.7/pytz/zoneinfo/America/St_Vincent differ Files old/pytz-2013b/pytz/zoneinfo/America/Tortola and new/pytz-2013.7/pytz/zoneinfo/America/Tortola differ Files old/pytz-2013b/pytz/zoneinfo/America/Virgin and new/pytz-2013.7/pytz/zoneinfo/America/Virgin differ Files old/pytz-2013b/pytz/zoneinfo/Antarctica/Macquarie and new/pytz-2013.7/pytz/zoneinfo/Antarctica/Macquarie differ Files old/pytz-2013b/pytz/zoneinfo/Antarctica/McMurdo and new/pytz-2013.7/pytz/zoneinfo/Antarctica/McMurdo differ Files old/pytz-2013b/pytz/zoneinfo/Antarctica/Palmer and new/pytz-2013.7/pytz/zoneinfo/Antarctica/Palmer differ Files old/pytz-2013b/pytz/zoneinfo/Antarctica/South_Pole and new/pytz-2013.7/pytz/zoneinfo/Antarctica/South_Pole differ Files old/pytz-2013b/pytz/zoneinfo/Asia/Amman and new/pytz-2013.7/pytz/zoneinfo/Asia/Amman differ Files old/pytz-2013b/pytz/zoneinfo/Asia/Dili and new/pytz-2013.7/pytz/zoneinfo/Asia/Dili differ Files old/pytz-2013b/pytz/zoneinfo/Asia/Gaza and new/pytz-2013.7/pytz/zoneinfo/Asia/Gaza differ Files old/pytz-2013b/pytz/zoneinfo/Asia/Hebron and new/pytz-2013.7/pytz/zoneinfo/Asia/Hebron differ Files old/pytz-2013b/pytz/zoneinfo/Asia/Jakarta and new/pytz-2013.7/pytz/zoneinfo/Asia/Jakarta differ Files old/pytz-2013b/pytz/zoneinfo/Asia/Jayapura and new/pytz-2013.7/pytz/zoneinfo/Asia/Jayapura differ Files old/pytz-2013b/pytz/zoneinfo/Asia/Jerusalem and new/pytz-2013.7/pytz/zoneinfo/Asia/Jerusalem differ Files old/pytz-2013b/pytz/zoneinfo/Asia/Makassar and new/pytz-2013.7/pytz/zoneinfo/Asia/Makassar differ Files old/pytz-2013b/pytz/zoneinfo/Asia/Pontianak and new/pytz-2013.7/pytz/zoneinfo/Asia/Pontianak differ Files old/pytz-2013b/pytz/zoneinfo/Asia/Tehran and new/pytz-2013.7/pytz/zoneinfo/Asia/Tehran differ Files old/pytz-2013b/pytz/zoneinfo/Asia/Tel_Aviv and new/pytz-2013.7/pytz/zoneinfo/Asia/Tel_Aviv differ Files old/pytz-2013b/pytz/zoneinfo/Asia/Ujung_Pandang and new/pytz-2013.7/pytz/zoneinfo/Asia/Ujung_Pandang differ Files old/pytz-2013b/pytz/zoneinfo/Chile/Continental and new/pytz-2013.7/pytz/zoneinfo/Chile/Continental differ Files old/pytz-2013b/pytz/zoneinfo/Chile/EasterIsland and new/pytz-2013.7/pytz/zoneinfo/Chile/EasterIsland differ Files old/pytz-2013b/pytz/zoneinfo/Europe/Busingen and new/pytz-2013.7/pytz/zoneinfo/Europe/Busingen differ Files old/pytz-2013b/pytz/zoneinfo/Europe/Vaduz and new/pytz-2013.7/pytz/zoneinfo/Europe/Vaduz differ Files old/pytz-2013b/pytz/zoneinfo/Europe/Zurich and new/pytz-2013.7/pytz/zoneinfo/Europe/Zurich differ Files old/pytz-2013b/pytz/zoneinfo/Iran and new/pytz-2013.7/pytz/zoneinfo/Iran differ Files old/pytz-2013b/pytz/zoneinfo/Israel and new/pytz-2013.7/pytz/zoneinfo/Israel differ Files old/pytz-2013b/pytz/zoneinfo/Jamaica and new/pytz-2013.7/pytz/zoneinfo/Jamaica differ Files old/pytz-2013b/pytz/zoneinfo/Pacific/Easter and new/pytz-2013.7/pytz/zoneinfo/Pacific/Easter differ Files old/pytz-2013b/pytz/zoneinfo/Pacific/Fiji and new/pytz-2013.7/pytz/zoneinfo/Pacific/Fiji differ Files old/pytz-2013b/pytz/zoneinfo/Pacific/Johnston and new/pytz-2013.7/pytz/zoneinfo/Pacific/Johnston differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytz-2013b/pytz/zoneinfo/iso3166.tab new/pytz-2013.7/pytz/zoneinfo/iso3166.tab --- old/pytz-2013b/pytz/zoneinfo/iso3166.tab 2013-03-14 18:46:41.000000000 +0100 +++ new/pytz-2013.7/pytz/zoneinfo/iso3166.tab 2013-10-02 06:26:06.000000000 +0200 @@ -1,17 +1,15 @@ -# <pre> +# ISO 3166 alpha-2 country codes +# # This file is in the public domain, so clarified as of # 2009-05-17 by Arthur David Olson. -# ISO 3166 alpha-2 country codes # -# From Paul Eggert (2006-09-27): +# From Paul Eggert (2013-05-27): # # This file contains a table with the following columns: # 1. ISO 3166-1 alpha-2 country code, current as of -# ISO 3166-1 Newsletter VI-1 (2007-09-21). See: -# <a href="http://www.iso.org/iso/en/prods-services/iso3166ma/index.html"> -# ISO 3166 Maintenance agency (ISO 3166/MA) -# </a>. -# 2. The usual English name for the country, +# ISO 3166-1 Newsletter VI-15 (2013-05-10). See: Updates on ISO 3166 +# http://www.iso.org/iso/home/standards/country_codes/updates_on_iso_3166.htm +# 2. The usual English name for the coded region, # chosen so that alphabetic sorting of subsets produces helpful lists. # This is not the same as the English name in the ISO 3166 tables. # @@ -20,11 +18,12 @@ # # Lines beginning with `#' are comments. # -# From Arthur David Olson (2011-08-17): -# Resynchronized today with the ISO 3166 site (adding SS for South Sudan). +# This table is intended as an aid for users, to help them select time +# zone data appropriate for their practical needs. It is not intended +# to take or endorse any position on legal or territorial claims. # #country- -#code country name +#code name of country, territory, area, or subdivision AD Andorra AE United Arab Emirates AF Afghanistan @@ -54,7 +53,7 @@ BM Bermuda BN Brunei BO Bolivia -BQ Bonaire Sint Eustatius & Saba +BQ Caribbean Netherlands BR Brazil BS Bahamas BT Bhutan @@ -235,7 +234,7 @@ SS South Sudan ST Sao Tome & Principe SV El Salvador -SX Sint Maarten +SX St Maarten (Dutch part) SY Syria SZ Swaziland TC Turks & Caicos Is diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytz-2013b/pytz/zoneinfo/zone.tab new/pytz-2013.7/pytz/zoneinfo/zone.tab --- old/pytz-2013b/pytz/zoneinfo/zone.tab 2013-03-14 18:46:41.000000000 +0100 +++ new/pytz-2013.7/pytz/zoneinfo/zone.tab 2013-10-02 06:26:06.000000000 +0200 @@ -1,26 +1,36 @@ -# <pre> +# TZ zone descriptions +# # This file is in the public domain, so clarified as of # 2009-05-17 by Arthur David Olson. # -# TZ zone descriptions +# From Paul Eggert (2013-08-14): # -# From Paul Eggert (1996-08-05): +# This file contains a table where each row stands for an area that is +# the intersection of a region identified by a country code and of a +# zone where civil clocks have agreed since 1970. The columns of the +# table are as follows: # -# This file contains a table with the following columns: -# 1. ISO 3166 2-character country code. See the file `iso3166.tab'. -# 2. Latitude and longitude of the zone's principal location +# 1. ISO 3166 2-character country code. See the file 'iso3166.tab'. +# 2. Latitude and longitude of the area's principal location # in ISO 6709 sign-degrees-minutes-seconds format, # either +-DDMM+-DDDMM or +-DDMMSS+-DDDMMSS, # first latitude (+ is north), then longitude (+ is east). # 3. Zone name used in value of TZ environment variable. +# Please see the 'Theory' file for how zone names are chosen. +# If multiple zones overlap a country, each has a row in the +# table, with column 1 being duplicated. # 4. Comments; present if and only if the country has multiple rows. # # Columns are separated by a single tab. # The table is sorted first by country, then an order within the country that # (1) makes some geographical sense, and -# (2) puts the most populous zones first, where that does not contradict (1). +# (2) puts the most populous areas first, where that does not contradict (1). +# +# Lines beginning with '#' are comments. # -# Lines beginning with `#' are comments. +# This table is intended as an aid for users, to help them select time +# zone data appropriate for their practical needs. It is not intended +# to take or endorse any position on legal or territorial claims. # #country- #code coordinates TZ comments @@ -32,8 +42,7 @@ AL +4120+01950 Europe/Tirane AM +4011+04430 Asia/Yerevan AO -0848+01314 Africa/Luanda -AQ -7750+16636 Antarctica/McMurdo McMurdo Station, Ross Island -AQ -9000+00000 Antarctica/South_Pole Amundsen-Scott Station, South Pole +AQ -7750+16636 Antarctica/McMurdo McMurdo, South Pole, Scott (New Zealand time) AQ -6734-06808 Antarctica/Rothera Rothera Station, Adelaide Island AQ -6448-06406 Antarctica/Palmer Palmer Station, Anvers Island AQ -6736+06253 Antarctica/Mawson Mawson Station, Holme Bay @@ -42,7 +51,6 @@ AQ -7824+10654 Antarctica/Vostok Vostok Station, Lake Vostok AQ -6640+14001 Antarctica/DumontDUrville Dumont-d'Urville Station, Terre Adelie AQ -690022+0393524 Antarctica/Syowa Syowa Station, E Ongul I -AQ -5430+15857 Antarctica/Macquarie Macquarie Island Station, Macquarie Island AR -3436-05827 America/Argentina/Buenos_Aires Buenos Aires (BA, CF) AR -3124-06411 America/Argentina/Cordoba most locations (CB, CC, CN, ER, FM, MN, SE, SF) AR -2447-06525 America/Argentina/Salta (SA, LP, NQ, RN) @@ -58,6 +66,7 @@ AS -1416-17042 Pacific/Pago_Pago AT +4813+01620 Europe/Vienna AU -3133+15905 Australia/Lord_Howe Lord Howe Island +AU -5430+15857 Antarctica/Macquarie Macquarie Island AU -4253+14719 Australia/Hobart Tasmania - most locations AU -3956+14352 Australia/Currie Tasmania - King Island AU -3749+14458 Australia/Melbourne Victoria @@ -113,8 +122,7 @@ CA +4606-06447 America/Moncton Atlantic Time - New Brunswick CA +5320-06025 America/Goose_Bay Atlantic Time - Labrador - most locations CA +5125-05707 America/Blanc-Sablon Atlantic Standard Time - Quebec - Lower North Shore -CA +4531-07334 America/Montreal Eastern Time - Quebec - most locations -CA +4339-07923 America/Toronto Eastern Time - Ontario - most locations +CA +4339-07923 America/Toronto Eastern Time - Ontario & Quebec - most locations CA +4901-08816 America/Nipigon Eastern Time - Ontario & Quebec - places that did not observe DST 1967-1973 CA +4823-08915 America/Thunder_Bay Eastern Time - Thunder Bay, Ontario CA +6344-06828 America/Iqaluit Eastern Time - east Nunavut - most locations @@ -216,7 +224,7 @@ ID -0507+11924 Asia/Makassar east & south Borneo, Sulawesi (Celebes), Bali, Nusa Tengarra, west Timor ID -0232+14042 Asia/Jayapura west New Guinea (Irian Jaya) & Malukus (Moluccas) IE +5320-00615 Europe/Dublin -IL +3146+03514 Asia/Jerusalem +IL +314650+0351326 Asia/Jerusalem IM +5409-00428 Europe/Isle_of_Man IN +2232+08822 Asia/Kolkata IO -0720+07225 Indian/Chagos @@ -225,7 +233,7 @@ IS +6409-02151 Atlantic/Reykjavik IT +4154+01229 Europe/Rome JE +4912-00207 Europe/Jersey -JM +1800-07648 America/Jamaica +JM +175805-0764736 America/Jamaica JO +3157+03556 Asia/Amman JP +353916+1394441 Asia/Tokyo KE -0117+03649 Africa/Nairobi @@ -414,8 +422,7 @@ US +471551-1014640 America/North_Dakota/Beulah Central Time - North Dakota - Mercer County US +394421-1045903 America/Denver Mountain Time US +433649-1161209 America/Boise Mountain Time - south Idaho & east Oregon -US +364708-1084111 America/Shiprock Mountain Time - Navajo -US +332654-1120424 America/Phoenix Mountain Standard Time - Arizona +US +332654-1120424 America/Phoenix Mountain Standard Time - Arizona (except Navajo) US +340308-1181434 America/Los_Angeles Pacific Time US +611305-1495401 America/Anchorage Alaska Time US +581807-1342511 America/Juneau Alaska Time - Alaska panhandle diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytz-2013b/pytz.egg-info/PKG-INFO new/pytz-2013.7/pytz.egg-info/PKG-INFO --- old/pytz-2013b/pytz.egg-info/PKG-INFO 2013-03-14 18:50:59.000000000 +0100 +++ new/pytz-2013.7/pytz.egg-info/PKG-INFO 2013-10-02 06:28:12.000000000 +0200 @@ -1,8 +1,8 @@ Metadata-Version: 1.1 Name: pytz -Version: 2013b +Version: 2013.7 Summary: World timezone definitions, modern and historical -Home-page: http://pytz.sourceforge.net +Home-page: http://pythonhosted.org/pytz Author: Stuart Bishop Author-email: [email protected] License: MIT @@ -23,16 +23,18 @@ Almost all of the Olson timezones are supported. - Note that this library differs from the documented Python API for - tzinfo implementations; if you want to create local wallclock - times you need to use the ``localize()`` method documented in this - document. In addition, if you perform date arithmetic on local - times that cross DST boundaries, the result may be in an incorrect - timezone (ie. subtract 1 minute from 2002-10-27 1:00 EST and you get - 2002-10-27 0:59 EST instead of the correct 2002-10-27 1:59 EDT). A - ``normalize()`` method is provided to correct this. Unfortunately these - issues cannot be resolved without modifying the Python datetime - implementation. + .. note:: + + This library differs from the documented Python API for + tzinfo implementations; if you want to create local wallclock + times you need to use the ``localize()`` method documented in this + document. In addition, if you perform date arithmetic on local + times that cross DST boundaries, the result may be in an incorrect + timezone (ie. subtract 1 minute from 2002-10-27 1:00 EST and you get + 2002-10-27 0:59 EST instead of the correct 2002-10-27 1:59 EDT). A + ``normalize()`` method is provided to correct this. Unfortunately these + issues cannot be resolved without modifying the Python datetime + implementation (see PEP-431). Installation @@ -542,7 +544,7 @@ it. pytz is a direct translation of the Olson timezone database, and changes to the timezone definitions need to be made to this source. If you find errors they should be reported to the time zone mailing - list, linked from http://www.twinsun.com/tz/tz-link.htm + list, linked from http://www.iana.org/time-zones. Further Reading diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytz-2013b/pytz.egg-info/SOURCES.txt new/pytz-2013.7/pytz.egg-info/SOURCES.txt --- old/pytz-2013b/pytz.egg-info/SOURCES.txt 2013-03-14 18:50:59.000000000 +0100 +++ new/pytz-2013.7/pytz.egg-info/SOURCES.txt 2013-10-02 06:28:12.000000000 +0200 @@ -5,6 +5,7 @@ setup.py pytz/__init__.py pytz/exceptions.py +pytz/lazy.py pytz/reference.py pytz/tzfile.py pytz/tzinfo.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytz-2013b/setup.py new/pytz-2013.7/setup.py --- old/pytz-2013b/setup.py 2013-03-14 18:46:41.000000000 +0100 +++ new/pytz-2013.7/setup.py 2013-10-02 06:26:07.000000000 +0200 @@ -5,7 +5,6 @@ import pytz, sys, os, os.path try: - import setuptools.command from setuptools import setup except ImportError: from distutils.core import setup @@ -33,7 +32,7 @@ author_email=memail, maintainer=me, maintainer_email=memail, - url='http://pytz.sourceforge.net', + url='http://pythonhosted.org/pytz', license='MIT', keywords=['timezone','tzinfo', 'datetime', 'olson', 'time'], packages=packages, -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
