[Checkins] SVN: transaction/trunk/ Python 3.3 compatibility.
Malthe Borch
mborch at gmail.com
Thu Mar 1 09:02:33 UTC 2012
Log message for revision 124494:
Python 3.3 compatibility.
Changed:
U transaction/trunk/CHANGES.txt
U transaction/trunk/transaction/compat.py
-=-
Modified: transaction/trunk/CHANGES.txt
===================================================================
--- transaction/trunk/CHANGES.txt 2012-02-29 21:29:55 UTC (rev 124493)
+++ transaction/trunk/CHANGES.txt 2012-03-01 09:02:31 UTC (rev 124494)
@@ -4,7 +4,7 @@
1.2.1 (unreleased)
------------------
-- ...
+- Python 3.3 compatibility.
1.2.0 (2011-12-05)
------------------
Modified: transaction/trunk/transaction/compat.py
===================================================================
--- transaction/trunk/transaction/compat.py 2012-02-29 21:29:55 UTC (rev 124493)
+++ transaction/trunk/transaction/compat.py 2012-03-01 09:02:31 UTC (rev 124494)
@@ -78,7 +78,10 @@
if PY3:
- from threading import _get_ident as get_thread_ident
+ try:
+ from threading import get_ident as get_thread_ident
+ except ImportError:
+ from threading import _get_ident as get_thread_ident
else:
from thread import get_ident as get_thread_ident
More information about the checkins
mailing list