Skip to content

Commit

Permalink
Removed deprecated _isDST and _localzone class variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
hannosch committed May 8, 2011
1 parent c27305b commit 3b14adc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGES.txt
Expand Up @@ -4,6 +4,8 @@ Changelog
3.0 (unreleased)
----------------

- Removed deprecated `_isDST` and `_localzone` class variables.

- Moved pytz cache from `DateTime._tzinfo` to a module global `_TZINFO`.

- Make DateTime a new-style class and limit its available attributes via a
Expand Down
3 changes: 0 additions & 3 deletions src/DateTime/DateTime.py
Expand Up @@ -416,9 +416,6 @@ class DateTime(object):
_localzone0 = _findLocalTimeZoneName(0)
_localzone1 = _findLocalTimeZoneName(1)
_multipleZones = (_localzone0 != _localzone1)
# For backward compatibility only:
_isDST = localtime(time())[8]
_localzone = _isDST and _localzone1 or _localzone0

# Limit the amount of instance attributes
__slots__ = (
Expand Down

0 comments on commit 3b14adc

Please sign in to comment.