Raymond Hettinger <[EMAIL PROTECTED]> added the comment: It's definitely a bug, but I think the reason it has been around so long is that no-one has offerred a clean solution.
I was hoping for something along the lines of functions raising an ArgumentError (a new subclass of TypeError) that could be trapped by the __call__ slot for bound methods and then reraised with a new argument count. The key is to find a *very* lightweight and minimal solution; otherwise, we should just live with it for another 18 years :- ) __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2516> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com