[Zope3-checkins] CVS: Zope3/src/zope/app/applicationcontrol - runtimeinfo.py:1.1.2.3

Guido van Rossum guido@python.org
Tue, 24 Dec 2002 11:52:50 -0500


Update of /cvs-repository/Zope3/src/zope/app/applicationcontrol
In directory cvs.zope.org:/tmp/cvs-serv8114

Modified Files:
      Tag: NameGeddon-branch
	runtimeinfo.py 
Log Message:
In getPythonPath(), first make all sys.path entries strings before
returning them.  In Python 2.3, sys.path entries *may* be non-string
objects (see PEP 302).


=== Zope3/src/zope/app/applicationcontrol/runtimeinfo.py 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/zope/app/applicationcontrol/runtimeinfo.py:1.1.2.2	Tue Dec 24 07:50:45 2002
+++ Zope3/src/zope/app/applicationcontrol/runtimeinfo.py	Tue Dec 24 11:52:50 2002
@@ -40,7 +40,7 @@
         return sys.version
 
     def getPythonPath(self):
-        return tuple(sys.path)
+        return tuple(map(str, sys.path))
 
     def getSystemPlatform(self):
         if hasattr(os, "uname"):