Robert Kern wrote:
George Sakkis wrote:
I stumbled upon the following strangeness (python 2.6.2):
getattr(int, '__gt__')
getattr(5, '__gt__')
Traceback (most recent call last):n
File "", line 1, in
AttributeError: 'int' object has no attribute '__gt__'
Is this a bug ?
I believe that
George Sakkis wrote:
I stumbled upon the following strangeness (python 2.6.2):
getattr(int, '__gt__')
getattr(5, '__gt__')
Traceback (most recent call last):n
File "", line 1, in
AttributeError: 'int' object has no attribute '__gt__'
Is this a bug ?
I believe that ints in the 2.x ser
On Oct 2, 3:52 pm, George Sakkis wrote:
> I stumbled upon the following strangeness (python 2.6.2):
>
> >>> getattr(int, '__gt__')
>
>
>
> >>> getattr(5, '__gt__')
>
> Traceback (most recent call last):n
> File "", line 1, in
> AttributeError: 'int' object has no attribute '__gt__'
>
> Is this
I stumbled upon the following strangeness (python 2.6.2):
>>> getattr(int, '__gt__')
>>> getattr(5, '__gt__')
Traceback (most recent call last):n
File "", line 1, in
AttributeError: 'int' object has no attribute '__gt__'
Is this a bug ?
George
--
http://mail.python.org/mailman/listinfo/pyt