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 rszefler
Recipients rszefler, vinay.sajip
Date 2009-10-08.08:09:15
SpamBayes Score 2.7918678e-09
Marked as misclassified No
Message-id <1254989357.9.0.704232203528.issue7077@psf.upfronthosting.co.za>
In-reply-to
Content
Fine with me, though problems would arise. Default encoding for example.
If encoding selection is mandatory it would break compatibility. Using
default locale is not such a good idea - local machine's locale would
generally not need to have any correlation to the remote logger's.

Maybe the best solution would be to coerce the text to ASCII per default
(such as not to break current semantics) but fix the exception thrown
(throw an Unicode*Error) and allow an optional encoding parameter to
handle non-ASCII characters?
History
Date User Action Args
2009-10-08 08:09:18rszeflersetrecipients: + rszefler, vinay.sajip
2009-10-08 08:09:17rszeflersetmessageid: <1254989357.9.0.704232203528.issue7077@psf.upfronthosting.co.za>
2009-10-08 08:09:16rszeflerlinkissue7077 messages
2009-10-08 08:09:15rszeflercreate