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 r.david.murray
Recipients r.david.murray
Date 2009-06-18.00:00:11
SpamBayes Score 0.0021443402
Marked as misclassified No
Message-id <1245283215.71.0.778706476044.issue6300@psf.upfronthosting.co.za>
In-reply-to
Content
I repeatedly find myself typing things like
"mybytestring.decode('ASCII', errors='replace')".  This seems like the
natural (I'm tempted to say Pythonic) thing to do, and is more readable
(IMO) than "mybytestring.decode('ASCII', 'replace')".  (replace what?).
 However currently encode and decode complain that they do not take any
keyword arguments.
History
Date User Action Args
2009-06-18 00:00:16r.david.murraysetrecipients: + r.david.murray
2009-06-18 00:00:15r.david.murraysetmessageid: <1245283215.71.0.778706476044.issue6300@psf.upfronthosting.co.za>
2009-06-18 00:00:12r.david.murraylinkissue6300 messages
2009-06-18 00:00:11r.david.murraycreate