Message12536
Many of the differences between the cPickle module and
the pickle module appear undocumented, despite a claim
in the cPickle module that the pickle docs explain the
differences.
For example, I just found that cPickle.Pickler() can be
called without a file argument, which makes it use an
internal list to store the pickled data; and that in
that case it has a method getvalue() that returns the
contents of that list as a string; and that its dump()
method takes a second argument which, if true, calls
the getvalue() method. Who knows what else it supports.
Someone should go over the cPickle source and compare
the API *carefully* with the documented pickle API. |
|
Date |
User |
Action |
Args |
2007-08-23 14:06:00 | admin | link | issue616013 messages |
2007-08-23 14:06:00 | admin | create | |
|