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 rhettinger
Recipients dabeaz, mark.dickinson, r.david.murray, rhettinger
Date 2010-12-28.00:03:36
SpamBayes Score 0.0001136476
Marked as misclassified No
Message-id <1293494618.57.0.152268951753.issue10783@psf.upfronthosting.co.za>
In-reply-to
Content
Many of these kind of "decisions" were made quickly, haphazardly, and with almost no discussion and were made by contributors who were new to Python core development (no familiar with the API norms).

Given the rats nest of bytes/text problems in Py3.0 and Py3.1, I think it is fair game to fix it now.  The APIs have not been shaken-out and battle-tested through wide-spread adoption, so it was fair to expect that the first experienced user to come along would find these rough patches.  

ISTM, this should get fixed.  The most innocuous way to do it is to add a warning for the implicit conversion.  That way, any existing 3.x code (probably precious little) would continue to run.  Another option is to just finish the job by adding an encoding parameter that defaults to utf-8.
History
Date User Action Args
2010-12-28 00:03:38rhettingersetrecipients: + rhettinger, mark.dickinson, r.david.murray, dabeaz
2010-12-28 00:03:38rhettingersetmessageid: <1293494618.57.0.152268951753.issue10783@psf.upfronthosting.co.za>
2010-12-28 00:03:36rhettingerlinkissue10783 messages
2010-12-28 00:03:36rhettingercreate