On 1/20/2014 7:59 AM, Nick Coghlan wrote:

However, while I know you're keen to finally make introspection work
for all C level callables in 3.4, even the ones with signatures that
can't be expressed as Python function signatures, I'd like to strongly
encourage you to hold off on that last part until Python 3.5.
...
That way, you can resurrect PEP 457, recast it as proposing an
*output* format for inspect.Signature.__repr__(), add an
inspect.Signature.fromstr() API that can use it to create a signature
object from __text_signature__ attributes (rather than relying on
ast.parse), add the optional group support and do it *right*, rather
than trying to squeeze it in as a new public API during the beta
period, which may lock us in to supporting an introspection API we
later regret.

I agree. What we can do with the API we have already is a great advance.

--
Terry Jan Reedy

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to