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 serhiy.storchaka
Recipients serhiy.storchaka
Date 2014-08-17.14:43:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1408286635.01.0.343838296034.issue22215@psf.upfronthosting.co.za>
In-reply-to
Content
Currently most functions which accepts string only without embedded NUL character, raise TypeError. Proposed patch change exception type to more consistent ValueError. It also unifies error messages.

I have opened a discussion on Python-Dev.
History
Date User Action Args
2014-08-17 14:43:55serhiy.storchakasetrecipients: + serhiy.storchaka
2014-08-17 14:43:55serhiy.storchakasetmessageid: <1408286635.01.0.343838296034.issue22215@psf.upfronthosting.co.za>
2014-08-17 14:43:54serhiy.storchakalinkissue22215 messages
2014-08-17 14:43:54serhiy.storchakacreate