Re: [Python-Dev] backwards and forwards compatibility, the exact contents of pickle files, and IntEnum

2015-03-15 Thread Ethan Furman
On 03/14/2015 11:46 PM, Glenn Linderman wrote: > In general, it would seem to me that each version of Python could add object > types that are foreign to prior versions, > and so as long as version N can unpickle anything produced by versions <=N, > all would be well. The question to me is beca

Re: [Python-Dev] backwards and forwards compatibility, the exact contents of pickle files, and IntEnum

2015-03-15 Thread Serhiy Storchaka
On 15.03.15 07:52, Ethan Furman wrote: So how do we fix it? There are a couple different options: - modify IntEnum pickle methods to return the name only - modify IntEnum pickle methods to pickle just like the int they represent The first option has the advantage that in 3.4 and above,

Re: [Python-Dev] backwards and forwards compatibility, the exact contents of pickle files, and IntEnum

2015-03-15 Thread Ethan Furman
Bringing back on list. :) On 03/15/2015 12:18 AM, Glenn Linderman wrote: > On 3/14/2015 11:58 PM, Ethan Furman wrote: >> On 03/14/2015 11:46 PM, Glenn Linderman wrote: >> >>> In general, it would seem to me that each version of Python could >>> add object types that are foreign to prior versions,

Re: [Python-Dev] backwards and forwards compatibility, the exact contents of pickle files, and IntEnum

2015-03-15 Thread Antoine Pitrou
On Sat, 14 Mar 2015 22:52:17 -0700 Ethan Furman wrote: > I'm not sure exactly how to phrase this inquiry, so please bear with me. > > What exactly does backwards compatibility mean as far as pickle goes? We > have the various protocols, we have the > contents of pickle files created at those p

Re: [Python-Dev] Request for Pronouncement: PEP 441 - Improving Python ZIP Application Support

2015-03-15 Thread Nick Coghlan
Huzzah! Thanks for working on this one folks, it should make the zipfile execution support much easier for current and future Python users to discover :) Cheers, Nick. ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/list