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 vstinner
Recipients belopolsky, pitrou, terry.reedy, tjollans, vstinner
Date 2010-07-28.23:25:31
SpamBayes Score 0.08850837
Marked as misclassified No
Message-id <1280359534.22.0.167402199454.issue8990@psf.upfronthosting.co.za>
In-reply-to
Content
I prefer the second solution (add to/frombytes, deprecate to/fromstring) because I prefer the new method names and it keeps backward compatibility (until we choose to remove the old methods, which should be in Python 3.3).

About the patch (tofrombytes.diff). You should use PyErr_WarnEx() result: if it is not nul (eg. if the user choosed to raise exceptions on warnings), you have to exit.
History
Date User Action Args
2010-07-28 23:25:35vstinnersetrecipients: + vstinner, terry.reedy, belopolsky, pitrou, tjollans
2010-07-28 23:25:34vstinnersetmessageid: <1280359534.22.0.167402199454.issue8990@psf.upfronthosting.co.za>
2010-07-28 23:25:32vstinnerlinkissue8990 messages
2010-07-28 23:25:31vstinnercreate