From 4e7dec51e1ffd744b7c76765edc6e0b54e7bca9b Mon Sep 17 00:00:00 2001 From: Jason Kirtland Date: Wed, 8 Aug 2007 23:45:26 +0000 Subject: Added `set_types` to util, a tuple of available set implementations. Added BIT and SET ([ticket:674])- all mysql data types are now covered! Fix for YEAR DDL generation, also no longer a concatenable type. Expanded docs for some mysql column esoterica. --- lib/sqlalchemy/util.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'lib/sqlalchemy/util.py') diff --git a/lib/sqlalchemy/util.py b/lib/sqlalchemy/util.py index ea1c8286a..d2a202e50 100644 --- a/lib/sqlalchemy/util.py +++ b/lib/sqlalchemy/util.py @@ -4,23 +4,23 @@ # This module is part of SQLAlchemy and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php +import md5, sys, warnings, sets +import __builtin__ + +from sqlalchemy import exceptions, logging + try: import thread, threading except ImportError: import dummy_thread as thread import dummy_threading as threading -from sqlalchemy import exceptions, logging -import md5 -import sys -import warnings -import __builtin__ - try: Set = set + set_types = set, sets.Set except: - import sets Set = sets.Set + set_types = sets.Set, try: reversed = __builtin__.reversed -- cgit v1.2.1