hi, yes I can... I'll send you both snippets (although i think they
are the same, (but I'll do a diff)... although I just found this in
copy_reg:

    except AttributeError:
        if getattr(self, "__slots__", None):
            raise TypeError("a class that defines __slots__ without "
                            "defining __getstate__ cannot be pickled")

so, I should have never been able to?

I'll gather the the snippets in a little while when the twins get
tired if pulling me away (loudly and insistantly) ;) - my nerves can't
take the stereo output ;)

Thanks :)


On Jan 15, 5:28 pm, Massimo Di Pierro <massimo.dipie...@gmail.com>
wrote:
> I do not think anything has changed in this respect. Can you provide
> an example of doe that worked and does not work anymore?
>
> Massimo
>
> On Jan 15, 3:29 pm, mart <msenecal...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > seems I used to be able to store pickles, and now ... well I can't...
> > Has the API changed or have we decided to against the practice (which
> > generally I may agree with) but...  I need those pickles in there  for
> > archive purposes, reproducibility and necessary references to them...
> > I store run time data into dict objects (like storage) which are built
> > up throughout build process (they are not static).
>
> > Anyways, there didn't seem to be any issues a short while ago (pre-
> > updated DAL), but now I get these infamous exceptions;
>
> >                    .../dal.py", line 3431, in __getattr__
> >     return dict.__getitem__(self,key)
> > KeyError: '__getstate__'
>
> > thanks,
> > Mart :)

Reply via email to