- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
Message69651
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 | cito |
|---|---|
| Recipients | cito |
| Date | 2008-07-14.12:53:22 |
| SpamBayes Score | 0.06537337 |
| Marked as misclassified | No |
| Message-id | <1216040063.73.0.634067891199.issue3354@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
When you sort a list with list.sort() or sorted(list), and set the
reverse parameter to None, then you get the following misleading error
message:
TypeError: an integer is required
I would expect a more proper error message for the reverse parameter,
such as "reverse must be a boolean", and maybe reverse=None also
accepted as default value, i.e. False. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008-07-14 12:54:24 | cito | set | spambayes_score: 0.0653734 -> 0.06537337 recipients: + cito |
| 2008-07-14 12:54:23 | cito | set | spambayes_score: 0.0653734 -> 0.0653734 messageid: <1216040063.73.0.634067891199.issue3354@psf.upfronthosting.co.za> |
| 2008-07-14 12:53:23 | cito | link | issue3354 messages |
| 2008-07-14 12:53:22 | cito | create | |

