- 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 | yselivanov |
|---|---|
| Recipients | brett.cannon, larry, ncoghlan, yselivanov |
| Date | 2014-01-11.21:22:58 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1389475379.56.0.443397984378.issue20223@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
|---|
new and handy functools.partialmethod doesn't fully support inspect.signature.
For instance, for the following code:
class Spam:
def say(self, a, b=1):
print(a)
hello = functools.partialmethod(say, 'hello')
the 'signature(Spam.hello)' will always return '(*args, **keywords)'
I'm attaching a patch that fixes that, so the signature for the above example will be '(self, b=1)'. |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2014-01-11 21:22:59 | yselivanov | set | recipients: + yselivanov, brett.cannon, ncoghlan, larry |
| 2014-01-11 21:22:59 | yselivanov | set | messageid: <1389475379.56.0.443397984378.issue20223@psf.upfronthosting.co.za> |
| 2014-01-11 21:22:59 | yselivanov | link | issue20223 messages |
| 2014-01-11 21:22:59 | yselivanov | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
