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 eric.smith
Recipients eric.smith, ezio.melotti, mahmoud, vstinner
Date 2015-04-21.13:21:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1429622484.43.0.883873800453.issue24019@psf.upfronthosting.co.za>
In-reply-to
Content
As this is an enhancement request, I've changed the versions.

I'm opposed to this change. If I pass an encoding along with a type for which it makes no sense, I'd prefer an error instead of silently ignoring the encoding.

I think your helper function is an appropriate solution to your problem.
History
Date User Action Args
2015-04-21 13:21:24eric.smithsetrecipients: + eric.smith, vstinner, ezio.melotti, mahmoud
2015-04-21 13:21:24eric.smithsetmessageid: <1429622484.43.0.883873800453.issue24019@psf.upfronthosting.co.za>
2015-04-21 13:21:24eric.smithlinkissue24019 messages
2015-04-21 13:21:24eric.smithcreate