[issue20308] inspect.Signature doesn't support user classes without __init__ or __new__
Larry Hastings
report at bugs.python.org
Mon Jan 20 00:47:22 CET 2014
Larry Hastings added the comment:
Special cases aren't special enough to break the rules. If the signature of a metaclass is "(object_or_name, [bases, dict])", then we must not special-case it to pretend that "(object)" works. I agree it's a bad idea to actually *do* that, but there are best-practice principles at stake here.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20308>
_______________________________________
More information about the Python-bugs-list
mailing list