[issue1413] int literal methods inaccessible

Christian Heimes report at bugs.python.org
Fri Nov 9 21:12:01 CET 2007


Christian Heimes added the comment:

It's a tricky problem because it's ambiguous:

>>> 1.j

What's going to happen here? Does it do getattr(1, 'j') or does it
create the imaginary number 1j?

----------
nosy: +tiran

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1413>
__________________________________


More information about the Python-bugs-list mailing list