◐ Shell
clean mode source ↗

Message 97339 - Python tracker

Message97339

Author vstinner
Recipients doerwalter, eric.smith, ezio.melotti, vstinner
Date 2010-01-07.02:01:52
SpamBayes Score 3.5358107e-06
Marked as misclassified No
Message-id <1262829714.4.0.520304108.issue7649@psf.upfronthosting.co.za>
In-reply-to
Content
The problem is specific to Python 2.x. With Python3, "%c" expects one unicode character (eg. "a").

My patch fixes the char => Py_UNICODE conversion, but raising an error is maybe better to be consistent with u"%s" % "\x80" (and prepare the migration the Python3).
History
Date User Action Args
2010-01-07 02:01:54vstinnersetrecipients: + vstinner, doerwalter, eric.smith, ezio.melotti
2010-01-07 02:01:54vstinnersetmessageid: <1262829714.4.0.520304108.issue7649@psf.upfronthosting.co.za>
2010-01-07 02:01:52vstinnerlinkissue7649 messages
2010-01-07 02:01:52vstinnercreate