Controlling copying and pickling of objects written in C

2008-04-12 Thread Adam Bregenzer
I am writing an extension and have "hidden" data included in the object's C structure that is not visible to python. I am unsure what would happen to that data if the python object were copied or pickled and would prefer to raise an exception whenever code tries to copy/deep copy/pickle or mar

Re: Controlling copying and pickling of objects written in C

2008-04-13 Thread Adam Bregenzer
On Sun, 13 Apr 2008 16:49:51 -0300, Gabriel Genellina wrote: > En Sun, 13 Apr 2008 01:57:42 -0300, Adam Bregenzer > <[EMAIL PROTECTED]> escribió: > >> I am writing an extension and have "hidden" data included in the >> object's C structure that i