Python 2.6 Deprecation Warnings with __new__ Can someone explain why?
dieter at handshake.de
Sun Oct 25 06:53:57 CET 2009
Terry Reedy <tjreedy at udel.edu> writes on Fri, 23 Oct 2009 03:04:41 -0400:
> Consider this:
> def blackhole(*args, **kwds): pass
> The fact that it accept args that it ignores could be considered
> misleading or even a bug.
Maybe, it could. But, it is by no means necessary.
In mathematics, there is a set of important functions which behave precisely
as described above (there ignore their arguments); they are called
More information about the Python-list