[XML-SIG] Mac Python (CFM68K) won't import pyexpat

Andrew M. Kuchling akuchlin@cnri.reston.va.us
Mon, 14 Dec 1998 17:02:44 -0500 (EST)


Bruce Bennett writes:
>	Python 1.5.1 (#37, Apr 27 1998, 13:36:17)  [CW CFM68K w/GUSI w/MSL]
>	Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>	>>> import sys
>	>>> import pyexpat
>	Traceback (innermost last):
>	  File "<stdin>", line 1, in ?
>	ImportError: PythonCore--PySys_WriteStderr:
>	  A fragment had "hard" unresolved imports.

	Are you using one of the pre-releases of the xml-0.5 package?
PySys_WriteStderr is a C function that was added after 1.5.1; this
problem was fixed in the final release by adding a private version of
PySys_WriteStderr.  Possibly the #ifdef that enables the private
version is wrong, or perhaps you have one of the prereleases of the
code.  (Let me know what you find...)

-- 
A.M. Kuchling			http://starship.skyport.net/crew/amk/
A slovenly action repeated thrice has become a habit.
    -- Robertson Davies, _Leaven of Malice_ (?)