[Python-Dev] cPickle and cStringIO

Moshe Zadka Moshe Zadka <mzadka@geocities.com>
Sun, 26 Mar 2000 09:14:10 +0200 (IST)


On Sat, 25 Mar 2000, Ka-Ping Yee wrote:

> Are there any objections to including
> 
>     try:
>         from cPickle import *
>     except:
>         pass
> 
> in pickle and
> 
>     try:
>         from cStringIO import *
>     except:
>         pass
> 
> in StringIO?

Yes, until Python types are subclassable. Currently, one can inherit from
pickle.Pickler/Unpickler and StringIO.StringIO.


--
Moshe Zadka <mzadka@geocities.com>. 
http://www.oreilly.com/news/prescod_0300.html
http://www.linux.org.il -- we put the penguin in .com