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.0653734
Marked as misclassified No
Message-id <>
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

    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.
Date User Action Args
2008-07-14 12:54:24citosetspambayes_score: 0.0653734 -> 0.0653734
recipients: + cito
2008-07-14 12:54:23citosetspambayes_score: 0.0653734 -> 0.0653734
messageid: <>
2008-07-14 12:53:23citolinkissue3354 messages
2008-07-14 12:53:22citocreate