- 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 | taleinat |
|---|---|
| Recipients | kbk, taleinat |
| Date | 2007-12-14.23:02:31 |
| SpamBayes Score | 0.014044533 |
| Marked as misclassified | No |
| Message-id | <1197673352.84.0.557493922697.issue1350@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
|---|
Alrighty then! Since I had also done some work on CallTips.py since the previous patch, I've worked up a merged version, including stuff from the py3k version and better tests. Changes since the first patch: * add support for callable instances (e.g. __call__) * use inspect, which does the hackish stuff for us, such as using <object>.im_func where needed and formatting doc-strings appropriately * use isinstance instead of type checking, like in the py3k branch * rename get_arg_text to get_arg_text_and_doc * add test cases for callable instances, classmethods, staticmethods and old-style classes * rework testing code * tested extensively (only on WinXP, Python2.5) I'm attaching a patch relative to the current SVN head, and another one relative to the current SVN head with the previous patch applied. |
| Files | |
|---|---|
| File name | Uploaded |
| IDLE_CallTips.071214.patch | taleinat, 2007-12-14.23:02:32 |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2007-12-14 23:02:33 | taleinat | set | spambayes_score: 0.0140445 -> 0.014044533 recipients: + taleinat, kbk |
| 2007-12-14 23:02:32 | taleinat | set | spambayes_score: 0.0140445 -> 0.0140445 messageid: <1197673352.84.0.557493922697.issue1350@psf.upfronthosting.co.za> |
| 2007-12-14 23:02:32 | taleinat | link | issue1350 messages |
| 2007-12-14 23:02:32 | taleinat | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
