Requirements
------------
-SQLAlchemy requires Python 2.3 or higher. One or more DB-API implementations
+SQLAlchemy requires Python 2.4 or higher. One or more DB-API implementations
are also required for database access. See docs/intro.html for more
information on supported DB-API implementations.
IRC!
-ALTERNATE PYTHON IMPLEMENTATIONS
---------------------------------
-The test suite restricts itself to largely Python 2.3-level constructs and
-standard library features, with the notable exception of decorators, which are
-used extensively throughout the suite.
-
-A source transformation tool is included that allows testing on Python 2.3 or
-any other Python implementation that lacks @decorator support.
-
-To use it:
-
- $ python test/clone.py -c --filter=py23 test23
-
-This will copy the test/ directory structure into test23/, with @decorators in
-the source code transformed into 2.3-friendly syntax.
-
-
TIPS
----
Postgres: The tests require an 'alt_schema' and 'alt_schema_2' to be present in
import types
from socket import gethostname
-# Python version compatibility
-try:
- strclass = basestring # new to 2.3
-except:
- strclass = str
# 2. IMPLEMENTATION
#
# On windows, the shell doesn't expand wildcards. Do it here.
globbed = []
for morf in morfs:
- if isinstance(morf, strclass):
+ if isinstance(morf, basestring):
globbed.extend(glob.glob(morf))
else:
globbed.append(morf)