[Python-Dev] The memo of pickle

Tim Peters tim.one@comcast.net
Sun, 11 Aug 2002 23:16:47 -0400


[Greg Ewing]
> That would break a lot of programs that use pickle
> without opening the file in binary mode.

[Guido]
> Really?  That's unfortunate.

[Greg]
> Unfortunate, yes, and true, as far as I can see. It bit me recently --
> I decided to change something to use binary pickling, and forgot to
> change the way I was opening the file.

Greg, do you use Windows?  If not, I suspect you're mis-remembering what you
did -- "binary mode" versus "text mode" doesn't make any difference on
Linux.