Message230416
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. |
|
Date |
User |
Action |
Args |
2014-11-01 00:36:20 | terry.reedy | set | recipients:
+ terry.reedy, belopolsky |
2014-11-01 00:36:20 | terry.reedy | set | messageid: <1414802180.08.0.0386772209739.issue22742@psf.upfronthosting.co.za> |
2014-11-01 00:36:20 | terry.reedy | link | issue22742 messages |
2014-11-01 00:36:19 | terry.reedy | create | |
|