[Zope] Should I switch to Python 1.5.2?

Kyler B. Laird laird@ecn.purdue.edu
Fri, 09 Feb 2001 12:32:20 -0500


I've been using Python 2.0 with Zope 2.3.0.
It generally works well, but lately I've
run into problems using string.split() and
now I notice that httplib encounters a
similar ("loop over non-sequence") problem.

I'm thinking of chucking it and going back
to Python 1.5.2, but I found that it does
not compile out of the box under SPARC
Solaris 2.8.
	# ./python /usr/local/lib/python1.5/compileall.py
	'import site' failed; use -v for traceback
	Traceback (innermost last):
	  File "/usr/local/lib/python1.5/compileall.py", line 128, in ?
	    sys.exit(not main())
	  File "/usr/local/lib/python1.5/compileall.py", line 121, in main
	    success = compile_path()
	  File "/usr/local/lib/python1.5/compileall.py", line 85, in compile_path
	    if (not dir or dir == os.curdir) and skip_curdir:
	AttributeError: curdir
(It doesn't know about os.curdir or
os.getcwd().)

So...before I try beating 1.5.2 into
submission under Solaris, I want to know if
there's an update of Zope in the near
future that fixes the Python 2.0
compatibilities.

Thank you.

--kyler