Re: [Python-Dev] Pickling problems are hard to debug

2006-03-25 Thread Gary Poster
On Mar 25, 2006, at 8:13 PM, Greg Ewing wrote: > There seems to be a need for better diagnostics > when pickle encounters something that can't be > pickled. > > Recently when attempting to pickle a rather > large and complicated data structure, I got > the following incomprehensible message: > >

Re: [Python-Dev] PEP 351, the freeze protocol

2005-10-24 Thread Gary Poster
On Oct 23, 2005, at 6:43 PM, Barry Warsaw wrote: > I've had this PEP laying around for quite a few months. It was > inspired > by some code we'd written which wanted to be able to get immutable > versions of arbitrary objects. I've finally finished the PEP, > uploaded > a sample patch (albe

Re: [Python-Dev] Definining properties - a use case for class decorators?

2005-10-16 Thread Gary Poster
On Oct 16, 2005, at 9:56 AM, Nick Coghlan wrote: > On and off, I've been looking for an elegant way to handle > properties using > decorators. This isn't my idea, and it might have been brought up here in the past to the same sorts of screams of horror to which you refer later, but I use t