- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
➜
This issue tracker has been migrated to GitHub,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | terry.reedy |
|---|---|
| Recipients | louielu, serhiy.storchaka, terry.reedy, veky |
| Date | 2017-08-10.06:15:00 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1502345700.62.0.995515357901.issue19903@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
|---|
This is much clearer. What you got is a limitation of getfullargspec relative to signature (see the links). In this case, you want follow_wrapped=True, to get the specific signature of the wrapped function instead of the generic signature of the wrapper*. With the patch, the tip in 3.6 and 3.7 is '(n, k)'. So yes, this is one of the changes consequent on the switch. >>> str(inspect.signature(f,follow_wrapped=False)) '(*args, **kw)' |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2017-08-10 06:15:00 | terry.reedy | set | recipients: + terry.reedy, serhiy.storchaka, veky, louielu |
| 2017-08-10 06:15:00 | terry.reedy | set | messageid: <1502345700.62.0.995515357901.issue19903@psf.upfronthosting.co.za> |
| 2017-08-10 06:15:00 | terry.reedy | link | issue19903 messages |
| 2017-08-10 06:15:00 | terry.reedy | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
