homepage

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:24citosetspambayes_score: 0.0653734 -> 0.06537337
recipients: + cito
2008年07月14日 12:54:23citosetspambayes_score: 0.0653734 -> 0.0653734
messageid: <1216040063.73.0.634067891199.issue3354@psf.upfronthosting.co.za>
2008年07月14日 12:53:23citolinkissue3354 messages
2008年07月14日 12:53:22citocreate

AltStyle によって変換されたページ (->オリジナル) /