Re: factory functions methods

2009-03-11 Thread Piet van Oostrum
Aaron Brady castiro...@gmail.com (AB) wrote: AB Hello, AB I am creating a container. I have some types which are built to be AB members of the container. The members need to know which container AB they are in, as they call methods on it, such as finding other AB members. I want help with the

Re: factory functions methods

2009-03-11 Thread Aaron Brady
On Mar 11, 12:52 pm, Piet van Oostrum p...@cs.uu.nl wrote: Aaron Brady castiro...@gmail.com (AB) wrote: AB Hello, AB I am creating a container.  I have some types which are built to be AB members of the container.  The members need to know which container AB they are in, as they call methods

Re: factory functions methods

2009-03-10 Thread Gabriel Genellina
En Sun, 08 Mar 2009 20:08:32 -0200, Aaron Brady castiro...@gmail.com escribió: Hello, I am creating a container. I have some types which are built to be members of the container. The members need to know which container they are in, as they call methods on it, such as finding other

Re: factory functions methods

2009-03-09 Thread Aaron Brady
On Mar 8, 5:45 pm, andrew cooke and...@acooke.org wrote: Aaron Brady wrote: Hello, I am creating a container.  I have some types which are built to be members of the container.  The members need to know which container they are in, as they call methods on it, such as finding other

factory functions methods

2009-03-08 Thread Aaron Brady
Hello, I am creating a container. I have some types which are built to be members of the container. The members need to know which container they are in, as they call methods on it, such as finding other members. I want help with the syntax to create the members. Currently, the container has

Re: factory functions methods

2009-03-08 Thread andrew cooke
Aaron Brady wrote: Hello, I am creating a container. I have some types which are built to be members of the container. The members need to know which container they are in, as they call methods on it, such as finding other members. I want help with the syntax to create the members.

Re: factory functions methods

2009-03-08 Thread andrew cooke
andrew cooke wrote: above is with 3.0. for some odd reason i thing the order of teh args to MethodType may have changed recently, so be careful. sorry, no, had 2.6 running there... andrew -- http://mail.python.org/mailman/listinfo/python-list