[Python-3000] Marshal Version and Pickle Protocols (original) (raw)
Robert Brewer fumanchu at amor.org
Thu Apr 12 19:25:05 CEST 2007
- Previous message: [Python-3000] Marshal Version and Pickle Protocols
- Next message: [Python-3000] Marshal Version and Pickle Protocols
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Guido van Rossum wrote:
On 4/12/07, Raymond Hettinger <python at rcn.com> wrote: > Can we drop the old protocols?
I'd like to keep supporting the old pickle for data interchangeability, but default to pickle protocol 2, which has been supported by Python for several versions.
I still use pickle protocol 0, since it does not output \x00 like protocols 1 and 2. Some databases either don't provide a way to escape \x00 in SQL statements, or have nasty bugs when comparing or operating on string values with \x00 in them.
Robert Brewer System Architect Amor Ministries fumanchu at amor.org
- Previous message: [Python-3000] Marshal Version and Pickle Protocols
- Next message: [Python-3000] Marshal Version and Pickle Protocols
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]