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 eryksun
Recipients eryksun, ezio.melotti, jwezel, vstinner
Date 2016-01-19.16:02:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1453219341.74.0.525627338301.issue26151@psf.upfronthosting.co.za>
In-reply-to
Content
> Bad feature, as it is a violation of POLA.

I would be astonished if the default __str__ conversion returned a Latin-1 decoding, which won't fail, or used the locale encoding or UTF-8, which could fail. The more explicit call x.decode() uses UTF-8 as the default encoding.
History
Date User Action Args
2016-01-19 16:02:21eryksunsetrecipients: + eryksun, vstinner, ezio.melotti, jwezel
2016-01-19 16:02:21eryksunsetmessageid: <1453219341.74.0.525627338301.issue26151@psf.upfronthosting.co.za>
2016-01-19 16:02:21eryksunlinkissue26151 messages
2016-01-19 16:02:21eryksuncreate