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 doerwalter, eric.smith, ezio.melotti, vstinner
Date 2010-01-07.02:48:37
SpamBayes Score 0.0034751343
Marked as misclassified No
Message-id <1262832518.91.0.974797470207.issue7649@psf.upfronthosting.co.za>
In-reply-to
Content
Shouldn't it work the same as it does for integers?

>>> u'%c' % 0x7f
u'\x7f'
>>> u'%c' % '\x7f'
u'\x7f'
>>> u'%c' % 0x80
u'\x80'
>>> u'%c' % '\x80'
u'\uff80'

That would imply to me it shouldn't be an error, it should just return u'\x80'.
History
Date User Action Args
2010-01-07 02:48:38eric.smithsetrecipients: + eric.smith, doerwalter, vstinner, ezio.melotti
2010-01-07 02:48:38eric.smithsetmessageid: <1262832518.91.0.974797470207.issue7649@psf.upfronthosting.co.za>
2010-01-07 02:48:37eric.smithlinkissue7649 messages
2010-01-07 02:48:37eric.smithcreate