Steve Dower <steve.do...@python.org> added the comment:

Nope, I was right the first time. The FullArgSpec tulle has changed indexes, 
and formatargspec has additional (undocumented) arguments.

Since formatargspec is deprecated, it should probably just not change.

The FullArgSpec tuple might have to become a concrete class implementation so 
that it can have positional-only args as a named attribute but not part of 
unpacking.

As for where the new information *can* go, I suspect the Signature object is 
the only place. Though that has limitations, and for C APIs in particular much 
of my code only uses the more reliable getfullargspec.

----------
nosy: +lukasz.langa, steve.dower
priority: normal -> release blocker

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36751>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to