Author alexandre.vassalotti
Recipients alexandre.vassalotti, brett.cannon, giampaolo.rodola, kbk
Date 2008-06-04.19:27:53
SpamBayes Score 0.0629489
Marked as misclassified No
Message-id <1212607689.35.0.759266769326.issue2917@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a diff against the previously posted _pickle.c module. The
module is pretty much done now. I fixed find_class() to be a proper
method and move the initialization code of Pickler/Unpickler into the
tp_init slot to allow proper subclassing.

The only things I didn't do is make save_reduce() public (since it would
be useless) and fix instantiate() to be exactly the same as in pickle.py
(since I have no idea how to cleanly inject a __class__ attribute into a
pre-build empty class from C).

With the beta postponed, I will probably add some optimizations to the
module and update the stdlib documentation.
History
Date User Action Args
2008-06-04 19:28:09alexandre.vassalottisetspambayes_score: 0.0629489 -> 0.0629489
recipients: + alexandre.vassalotti, brett.cannon, kbk, giampaolo.rodola
2008-06-04 19:28:09alexandre.vassalottisetspambayes_score: 0.0629489 -> 0.0629489
messageid: <1212607689.35.0.759266769326.issue2917@psf.upfronthosting.co.za>
2008-06-04 19:28:07alexandre.vassalottilinkissue2917 messages
2008-06-04 19:28:07alexandre.vassalotticreate