On Wed, Dec 9, 2015 at 10:41 AM, Ian Kelly wrote:
> On Tue, Dec 8, 2015 at 3:37 PM, Erik wrote:
>> On 08/12/15 19:02, Thomas 'PointedEars' Lahn wrote:
>>>
>>> Erik wrote:
>>>
>>> Please fix, Erik #75656.
>>
>>
>> Fixed(*)
>
> [SNIP]
>
>> (*) In the sense that it's not going to change ;)
>
>
On Tue, Dec 8, 2015 at 3:37 PM, Erik wrote:
> On 08/12/15 19:02, Thomas 'PointedEars' Lahn wrote:
>>
>> Erik wrote:
>>
>> Please fix, Erik #75656.
>
>
> Fixed(*)
[SNIP]
> (*) In the sense that it's not going to change ;)
Then I think you mean "Working as Intended", not "Fixed". B-)
--
ht
On 08/12/2015 22:52, Thomas 'PointedEars' Lahn wrote:
Mark Lawrence wrote:
On 08/12/2015 19:02, Thomas 'PointedEars' Lahn wrote:
Erik wrote:
Please fix, Erik #75656.
Please fix what?
You are not ready for the answer yet.
I'll be all pointed ears when you actually manage to provide
Mark Lawrence wrote:
> On 08/12/2015 19:02, Thomas 'PointedEars' Lahn wrote:
>> Erik wrote:
>>
>> Please fix, Erik #75656.
>
> Please fix what?
You are not ready for the answer yet.
--
PointedEars
Twitter: @PointedEars2
Please do not cc me. / Bitte keine Kopien per E-Mail.
--
https://ma
Vincent Vande Vyvre wrote:
> Le 08/12/2015 20:02, Thomas 'PointedEars' Lahn a écrit :
>> Erik wrote:
>>> Amongst other things, you can't put the object into multiple containers
>> You can. Quickhack:
^
>> class Child:
>> self._parents = []
>>
>> def add_to_parent (s
Annoyingly, there seemed to be no responses to the original question
when I wrote that and then shortly after, I saw all the others (and we
all pretty much said the same thing - so I'm not sure why I was singled
out for special attention ;)).
On 08/12/15 19:02, Thomas 'PointedEars' Lahn wrote:
On 08/12/2015 19:02, Thomas 'PointedEars' Lahn wrote:
Erik wrote:
Please fix, Erik #75656.
Please fix what?
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
Le 08/12/2015 20:02, Thomas 'PointedEars' Lahn a écrit :
Erik wrote:
Please fix, Erik #75656.
On 07/12/15 18:10, Tony van der Hoff wrote:
A highly contrived example, where I'm setting up an outer class in a
Has-a relationship, containing a number of Actors. The inner class needs
to access
Erik wrote:
Please fix, Erik #75656.
> On 07/12/15 18:10, Tony van der Hoff wrote:
>> A highly contrived example, where I'm setting up an outer class in a
>> Has-a relationship, containing a number of Actors. The inner class needs
>> to access a method of the outer class; here the method get_
Hum, sorry about the empty reply; just finger trouble!
Anyway I wasn't expecting such a great response; thanks to all.
On 07/12/15 23:47, Erik wrote:
[snip]
As you can't sensibly put the object into more than one container at a
time anyway, then you can pass the container object to the Actor o
On 07/12/15 23:47, Erik wrote:
Hi Tony,
On 07/12/15 18:10, Tony van der Hoff wrote:
A highly contrived example, where I'm setting up an outer class in a
Has-a relationship, containing a number of Actors. The inner class needs
to access a method of the outer class; here the method get_name.
Ge
Hi Tony,
On 07/12/15 18:10, Tony van der Hoff wrote:
A highly contrived example, where I'm setting up an outer class in a
Has-a relationship, containing a number of Actors. The inner class needs
to access a method of the outer class; here the method get_name.
Generally, an object should not ne
On Tue, Dec 8, 2015 at 8:38 AM, Terry Reedy wrote:
>>def list_actors( self ):
>> h=[]
>> for n in self.actors:
>>h.append( n.get_name() )
>> return h
>
>
> return list(self.actors) # or perhaps even faster
> return self.actors[:]
Not identical semantics. This is a use-
On 12/7/2015 1:10 PM, Tony van der Hoff wrote:
Hi,
I have a class A, containing embedded embedded classes, which need to
access methods from A.
.
A highly contrived example, where I'm setting up an outer class in a
Has-a relationship, containing a number of Actors. The inner class needs
to acces
On Mon, Dec 7, 2015 at 11:10 AM, Tony van der Hoff wrote:
> Hi,
>
> I have a class A, containing embedded embedded classes, which need to access
> methods from A.
> .
> A highly contrived example, where I'm setting up an outer class in a Has-a
> relationship, containing a number of Actors. The inn
Michael Torrie wrote:
> On 12/07/2015 11:10 AM, Tony van der Hoff wrote:
>> I have a class A, containing embedded embedded classes, which need to
>> access methods from A.
>> .
>> A highly contrived example, where I'm setting up an outer class in a
>> Has-a relationship, containing a number of Act
Tony van der Hoff wrote:
> Hi,
>
> I have a class A, containing embedded embedded classes, which need to
> access methods from A.
> .
> A highly contrived example, where I'm setting up an outer class in a
> Has-a relationship, containing a number of Actors. The inner class needs
> to access a met
Tony van der Hoff wrote:
> I have a class A, containing embedded embedded classes, which need to
> access methods from A.
Let the name of the "embedded class" (which is not embedded at all in your
example code) be E. You could either store the information in the E
instance upon or after constr
On 12/07/2015 11:10 AM, Tony van der Hoff wrote:
> Hi,
>
> I have a class A, containing embedded embedded classes, which need to
> access methods from A.
> .
> A highly contrived example, where I'm setting up an outer class in a
> Has-a relationship, containing a number of Actors. The inner clas
Tony van der Hoff wrote:
> Hi,
>
> I have a class A, containing embedded embedded classes, which need to
> access methods from A.
> .
> A highly contrived example, where I'm setting up an outer class in a
> Has-a relationship, containing a number of Actors. The inner class needs
> to access a m
20 matches
Mail list logo