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 spaceone
Recipients ezio.melotti, loewis, r.david.murray, spaceone, vstinner
Date 2015-12-17.13:42:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1450359753.88.0.782544487096.issue25880@psf.upfronthosting.co.za>
In-reply-to
Content
Because i need to do everywhere where I use this:

try:
    user_input.encode(encoding)
except UnicodeDecodeError:
    raise
except (UnicodeError, UnicodeEncodeError):
    do_my_error_handling()

instead of
try:
    user_input.encode(encoding)
except UnicodeEncodeError:
    do_my_error_handling()
History
Date User Action Args
2015-12-17 13:42:33spaceonesetrecipients: + spaceone, loewis, vstinner, ezio.melotti, r.david.murray
2015-12-17 13:42:33spaceonesetmessageid: <1450359753.88.0.782544487096.issue25880@psf.upfronthosting.co.za>
2015-12-17 13:42:33spaceonelinkissue25880 messages
2015-12-17 13:42:33spaceonecreate