- 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 | larry |
|---|---|
| Recipients | docs@python, larry, serhiy.storchaka |
| Date | 2014-01-06.16:57:11 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1389027431.19.0.100511652493.issue20141@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
|---|
Actually, the documentation (the "howto") states: Note that object() must explicitly support each Python type you specify for the type argument. Currently it only supports str. It should be easy to add more, just edit Tools/clinic/clinic.py, search for O! in the text, and add more entries to the dict mapping types to strings just above it. Maybe this is a bad API. But it's not broken. |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2014-01-06 16:57:11 | larry | set | recipients: + larry, docs@python, serhiy.storchaka |
| 2014-01-06 16:57:11 | larry | set | messageid: <1389027431.19.0.100511652493.issue20141@psf.upfronthosting.co.za> |
| 2014-01-06 16:57:11 | larry | link | issue20141 messages |
| 2014-01-06 16:57:11 | larry | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
