Message230416
| 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: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 |
|