Python-1.5.2 cPickle

Robin Becker robin at jessikat.fsnet.co.uk
Tue Aug 22 05:05:26 EDT 2000


In message <20000822100758.J4798 at xs4all.nl>, Thomas Wouters
<thomas at xs4all.net> writes
...
>Ah, yes, now I can reproduce this too, under regular 1.5.2. No, I don't
>think this is acceptible. It's also already fixed in 2.0-CVS, at least, and
>probably in 1.6 as well (don't have a 'real' 1.6 around to test.)
>
I was getting different behaviour with Gordon McMillan's installer with
and without stackless installed. I think the stackless 1.5.42+ must be
based on a later source and with it installed I would get an import
error.

Are there really any circumstances when a python program should just
crash out so inelegantly? In an embedded python surely there should be
some way to inform the embedding app that python has just decided it
can't go on.




C:\>python
Python 1.5.42+ (#0, Mar 28 2000, 20:39:47) [MSC 32 bit (Intel)] on win32
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import cPickle
Traceback (innermost last):
  File "<stdin>", line 1, in ?
ImportError: No module named copy_reg
>>>

-- 
Robin Becker




More information about the Python-list mailing list