Author: phd
Date: Mon May 5 12:43:58 2014
New Revision: 4727
Log:
Stop supporting Python 2.5
Modified:
SQLObject/branches/1.7/docs/TODO.txt
SQLObject/branches/1.7/sqlobject/main.py
Modified: SQLObject/branches/1.7/docs/TODO.txt
==============================================================================
--- SQLObject/branches/1.7/docs/TODO.txt Mon May 5 12:37:35 2014 (r4726)
+++ SQLObject/branches/1.7/docs/TODO.txt Mon May 5 12:43:58 2014 (r4727)
@@ -45,7 +45,7 @@
* Cache columns in sqlmeta.getColumns(); reset the cache on add/del Column/Join.
-* Stop supporting Python 2.5: use ``with lock``;
+* Stop supporting Python 2.5:
make ConnectionHub a context manager instead of .doInTransaction();
replace time.strptime with datetime.strptime. Upgrade ez_setup to 2.0+.
Modified: SQLObject/branches/1.7/sqlobject/main.py
==============================================================================
--- SQLObject/branches/1.7/sqlobject/main.py Mon May 5 12:37:35 2014 (r4726)
+++ SQLObject/branches/1.7/sqlobject/main.py Mon May 5 12:43:58 2014 (r4727)
@@ -43,8 +43,8 @@
from util.threadinglocal import local
import sys
-if sys.version_info[:3] < (2, 5, 0):
- raise ImportError, "SQLObject requires Python 2.5.0 or later"
+if sys.version_info[:3] < (2, 6, 0):
+ raise ImportError, "SQLObject requires Python 2.6.0 or later"
"""
This thread-local storage is needed for RowCreatedSignals. It gathers
|