# HG changeset patch # User adustman # Date 1235333396 0 # Node ID 6122b2cacd2092a5f632b369456d37968f1d1bb1 # Parent 0f9808c4799c644cdf5a58eaa8acc16dfe62dfc0 set and frozenset always available in Python 2.4 and newer diff -r 0f9808c4799c -r 6122b2cacd20 MySQLdb/__init__.py --- a/MySQLdb/__init__.py Sun Feb 22 20:07:15 2009 +0000 +++ b/MySQLdb/__init__.py Sun Feb 22 20:09:56 2009 +0000 @@ -30,10 +30,6 @@ from MySQLdb.times import Date, Time, Timestamp, \ DateFromTicks, TimeFromTicks, TimestampFromTicks -try: - frozenset -except NameError: - from sets import ImmutableSet as frozenset class DBAPISet(frozenset): """A special type of set for which A == x is True if A is a diff -r 0f9808c4799c -r 6122b2cacd20 MySQLdb/converters.py --- a/MySQLdb/converters.py Sun Feb 22 20:07:15 2009 +0000 +++ b/MySQLdb/converters.py Sun Feb 22 20:09:56 2009 +0000 @@ -44,11 +44,6 @@ import datetime from decimal import Decimal -try: - set -except NameError: - from sets import Set as set - __revision__ = "$Revision$"[11:-2] __author__ = "$Author$"[9:-2]