[issue3828] Bound methods compare 'successfully' with ints

2008-09-10 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: You are right. And thanks to the time machine, python 3.0 already forbid such comparisons: >>> a.b < 0 Traceback (most recent call last): File "", line 1, in TypeError: unorderable types: method() < int() The behaviour cannot change

[issue3828] Bound methods compare 'successfully' with ints

2008-09-10 Thread Andreas Kloeckner
New submission from Andreas Kloeckner <[EMAIL PROTECTED]>: Check out this transcript: 8< --- Python 2.5.2 (r252:60911, Aug 8 2008, 09:22:44) [GCC 4.3.1] on linux2 Type "help", "copyright", "credits" or "license" for more inform