summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/util.py
diff options
context:
space:
mode:
authorJason Kirtland <jek@discorporate.us>2007-08-08 23:45:26 +0000
committerJason Kirtland <jek@discorporate.us>2007-08-08 23:45:26 +0000
commit4e7dec51e1ffd744b7c76765edc6e0b54e7bca9b (patch)
tree3b314d3665d5802c96b403a671b72b6431479a03 /lib/sqlalchemy/util.py
parent2f090b483d259048160682b88e3c21167523f61a (diff)
downloadsqlalchemy-4e7dec51e1ffd744b7c76765edc6e0b54e7bca9b.tar.gz
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.
Diffstat (limited to 'lib/sqlalchemy/util.py')
-rw-r--r--lib/sqlalchemy/util.py14
1 files changed, 7 insertions, 7 deletions
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