homepage

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 terry.reedy
Recipients belopolsky, terry.reedy
Date 2014年11月01日.00:36:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1414802180.08.0.0386772209739.issue22742@psf.upfronthosting.co.za>
In-reply-to
Content
I think Idle should consistently display astral chars with their \U escape. It sometimes does, just not always.
>>> s='\U0001f680'
>>> s
'\U0001f680'
>>> str(s)
'\U0001f680'
>>> repr(s)
"'\U0001f680'"
>>> print(s) # gives error above.
>>> print(str(s)) #ditto
I thought that implicit print of expression and overt print of the same expression were supposed to be the same.
#21084 is also about this general issue.
History
Date User Action Args
2014年11月01日 00:36:20terry.reedysetrecipients: + terry.reedy, belopolsky
2014年11月01日 00:36:20terry.reedysetmessageid: <1414802180.08.0.0386772209739.issue22742@psf.upfronthosting.co.za>
2014年11月01日 00:36:20terry.reedylinkissue22742 messages
2014年11月01日 00:36:19terry.reedycreate

AltStyle によって変換されたページ (->オリジナル) /