Re: Question about isinstance()
bruno at modulix wrote:[color=blue]
> Dave Benjamin wrote:
> (snip)
>
>[color=green]
>>You *could* have "b.__eq__" just call "a.__eq__",[/color]
>
>
> Which could lead to strange results (well, actually a good ole infinite
> recursion) if b.__eq__ happens to call b.__eq__ too !-)[/color]
I meant:
'if a.__eq__ happens to call b.__eq__ too'
of course...
--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb@xiludom. gro'.split('@')])"
bruno at modulix wrote:[color=blue]
> Dave Benjamin wrote:
> (snip)
>
>[color=green]
>>You *could* have "b.__eq__" just call "a.__eq__",[/color]
>
>
> Which could lead to strange results (well, actually a good ole infinite
> recursion) if b.__eq__ happens to call b.__eq__ too !-)[/color]
I meant:
'if a.__eq__ happens to call b.__eq__ too'
of course...
--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb@xiludom. gro'.split('@')])"
Comment