[Checkins] SVN: zc.buildout/branches/regebro-python3/ A couple of small fixes.

Lennart Regebro regebro at gmail.com
Wed Nov 24 11:02:02 EST 2010


Log message for revision 118564:
  A couple of small fixes.
  

Changed:
  U   zc.buildout/branches/regebro-python3/src/zc/buildout/tests.py
  U   zc.buildout/branches/regebro-python3/zc.recipe.egg_/src/zc/recipe/egg/README.txt
  U   zc.buildout/branches/regebro-python3/zc.recipe.egg_/src/zc/recipe/egg/api.txt

-=-
Modified: zc.buildout/branches/regebro-python3/src/zc/buildout/tests.py
===================================================================
--- zc.buildout/branches/regebro-python3/src/zc/buildout/tests.py	2010-11-24 15:48:55 UTC (rev 118563)
+++ zc.buildout/branches/regebro-python3/src/zc/buildout/tests.py	2010-11-24 16:02:02 UTC (rev 118564)
@@ -3780,7 +3780,11 @@
 #endif
 
 PyMODINIT_FUNC
+#if PY_MAJOR_VERSION >= 3
+PyInit_extdemo(void)
+#else
 initextdemo(void)
+#endif
 {
     PyObject *m;
 

Modified: zc.buildout/branches/regebro-python3/zc.recipe.egg_/src/zc/recipe/egg/README.txt
===================================================================
--- zc.buildout/branches/regebro-python3/zc.recipe.egg_/src/zc/recipe/egg/README.txt	2010-11-24 15:48:55 UTC (rev 118563)
+++ zc.buildout/branches/regebro-python3/zc.recipe.egg_/src/zc/recipe/egg/README.txt	2010-11-24 16:02:02 UTC (rev 118564)
@@ -225,7 +225,7 @@
     ...     if 'demo' in p:
     ...         print(os.path.basename(p))
     ... 
-    ... """).replace('>>> ', '').replace('... ', ''), )
+    ... """).replace(b('>>> '), b('')).replace(b('... '), b('')), )
     ... # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
     demo-0.2-py2.4.egg
     demoneeded-1.2c1-py2.4.egg

Modified: zc.buildout/branches/regebro-python3/zc.recipe.egg_/src/zc/recipe/egg/api.txt
===================================================================
--- zc.buildout/branches/regebro-python3/zc.recipe.egg_/src/zc/recipe/egg/api.txt	2010-11-24 15:48:55 UTC (rev 118563)
+++ zc.buildout/branches/regebro-python3/zc.recipe.egg_/src/zc/recipe/egg/api.txt	2010-11-24 16:02:02 UTC (rev 118564)
@@ -37,7 +37,7 @@
     ...         print('Working set:')
     ...         for d in ws:
     ...             print(d)
-    ...         print('extra paths: ' + self.egg.extra_paths)
+    ...         print('extra paths: ' + str(self.egg.extra_paths))
     ...         return ()
     ...
     ...     update = install



More information about the checkins mailing list