A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-February/042408.html below:

[Python-Dev] pickle.dump(..) interface change ... documentation

[Python-Dev] pickle.dump(..) interface change ... documentationChristian Stork python-dev-list at cstork.org
Wed Feb 4 14:49:37 EST 2004
Hi,

I just ran across something that looks like a very unfortunate interface
change in the pickle module:

Python 2.2:  dump(object, file[, bin])
Python 2.3:  dump(object, file[, protocol[, bin]])

...and indeed I have code, which uses pickle.dump(obj, f, True).

Hmm, ok, so probably this means now (under python 2.3) I'm using
protocol number 1 (==True)?!  Tricky. :-)  Maybe that warrants a comment
in the docs?

Thanks,
Chris

-- 
Chris Stork   <>  Support eff.org!  <>   http://www.ics.uci.edu/~cstork/
OpenPGP fingerprint:  B08B 602C C806 C492 D069  021E 41F3 8C8D 50F9 CA2F

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4