[BioPython] biocorba progress

Jeffrey Chang jchang@SMI.Stanford.EDU
Thu, 27 Apr 2000 22:09:26 -0700 (PDT)


On Wed, 26 Apr 2000, Brad Chapman wrote:

> 1. Tie deletions of objects on the client side with calling an unref():
> 
> class ACorbaClass
> 
>     def __del__(self):
>         call corba.unref()
>         
>         continue deleting the object
> 
> But I'm not sure how to do the continuation of deletion...

You may not have to do anything else, unless you need to break circular
links, close files, or other miscellaneous things.


> 2. On the Server side, tie the call to an unref with a call to delete 
> the object.
> 
> Is this a good pythonic way to do things? (or even a good way in 
> general? :).

Yep, looks good to me, unless I'm misunderstanding something about the
biocorba memory management system.

Jeff


> 
> Brad
>     
> 
> 
> 
> _______________________________________________
> BioPython mailing list  -  BioPython@biopython.org
> http://biopython.org/mailman/listinfo/biopython
>