On Wed, 10 Oct 2007 15:21:06 +0000, Alan Isaac wrote:

> Marc 'BlackJack' Rintsch wrote:
>> Pickles are *binary* files, not text files
> 
> Actually not:
> http://docs.python.org/lib/node316.html
> 
> These were created with protocol 0.

Actually yes, the docs are wrong.  It's a binary file with bytes
constraint to ASCII values.  Nevertheless it breaks if you don't open the
files in binary mode and try to use it on a platform that treats line
endings differently.

Ciao,
        Marc 'BlackJack' Rintsch
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to