[Checkins] SVN: zope.interface/branches/regebro-python3/ Some minor bugfixes to get it onto Python 3.1.

Lennart Regebro regebro at gmail.com
Sat Sep 12 11:45:13 EDT 2009


Log message for revision 103872:
  Some minor bugfixes to get it onto Python 3.1.
  

Changed:
  U   zope.interface/branches/regebro-python3/build_ext_3.py
  U   zope.interface/branches/regebro-python3/src/zope/interface/declarations.py

-=-
Modified: zope.interface/branches/regebro-python3/build_ext_3.py
===================================================================
--- zope.interface/branches/regebro-python3/build_ext_3.py	2009-09-12 15:23:10 UTC (rev 103871)
+++ zope.interface/branches/regebro-python3/build_ext_3.py	2009-09-12 15:45:12 UTC (rev 103872)
@@ -124,7 +124,7 @@
         
     from setuptools.command.build_py import build_py
     
-    class build_py_2to3(build_py, Mixin2to3):
+    class build_py_2to3(Mixin2to3, build_py):
         def run(self):
             self.updated_files = []
             self.possible_doctests = []

Modified: zope.interface/branches/regebro-python3/src/zope/interface/declarations.py
===================================================================
--- zope.interface/branches/regebro-python3/src/zope/interface/declarations.py	2009-09-12 15:23:10 UTC (rev 103871)
+++ zope.interface/branches/regebro-python3/src/zope/interface/declarations.py	2009-09-12 15:45:12 UTC (rev 103872)
@@ -32,7 +32,7 @@
 import weakref
 from zope.interface.interface import InterfaceClass, Specification
 from ro import mergeOrderings, ro
-import exceptions
+from zope.interface import exceptions
 from types import ModuleType, MethodType, FunctionType
 from zope.interface.advice import addClassAdvisor
 



More information about the checkins mailing list