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 Claudiu.Popa
Recipients Claudiu.Popa, rhettinger, vajrasky
Date 2014-06-14.20:12:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1402776766.15.0.869587753366.issue19768@psf.upfronthosting.co.za>
In-reply-to
Content
I believe that returning a TypeError instead of a ValueError is better in this situation. Technically, passing 'a' as maxlen makes that value inappropiate, thus the use of TypeError. It will also be backward compatible. Also, your patch needs test updates.
History
Date User Action Args
2014-06-14 20:12:46Claudiu.Popasetrecipients: + Claudiu.Popa, rhettinger, vajrasky
2014-06-14 20:12:46Claudiu.Popasetmessageid: <1402776766.15.0.869587753366.issue19768@psf.upfronthosting.co.za>
2014-06-14 20:12:46Claudiu.Popalinkissue19768 messages
2014-06-14 20:12:46Claudiu.Popacreate