[ python-Bugs-888594 ] cPickle doesn't like protocol keyword argument, pickle does

SourceForge.net noreply at sourceforge.net
Wed Jul 28 20:07:40 CEST 2004


Bugs item #888594, was opened at 2004-02-01 17:29
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=888594&group_id=5470

Category: Python Library
Group: Python 2.3
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Irmen de Jong (irmen)
Assigned to: Nobody/Anonymous (nobody)
Summary: cPickle doesn't like protocol keyword argument, pickle does

Initial Comment:
The dump and dumps functions from the "cPickle" module
don't accept the protocol keyword argument. The
"pickle" module does. This is an irritating API
difference that requires me to write different code to
deal with either cPickle or pickle (if cPickle is not
available).

----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2004-07-28 20:07

Message:
Logged In: YES 
user_id=21627

Fix with said patch.

----------------------------------------------------------------------

Comment By: Dima Dorfman (ddorfman)
Date: 2004-07-22 10:26

Message:
Logged In: YES 
user_id=908995

Patch #995766 should take care of this

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=888594&group_id=5470


More information about the Python-bugs-list mailing list