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 ammar2
Recipients BTaskaya, Mark.Shannon, ammar2, aroberge, brandtbucher, miss-islington, nedbat, pablogsal, serhiy.storchaka, terry.reedy
Date 2021-07-16.20:51:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1626468670.75.0.0137718767081.issue43950@roundup.psfhosted.org>
In-reply-to
Content
As reported by Will McGugan on twitter:

Printing may be wrong for some unicode characters like:


Traceback (most recent call last):
  File "test.py", line 1, in <module>
    x = ("该" / 0) + (1 / 2)
         ~~~~~~^
TypeError: unsupported operand type(s) for /: 'str' and 'int'


and


Traceback (most recent call last):
  File "test.py", line 3, in <module>
    x = ("💩" / 0) + (1 / 2)
         ~~~~~~~
TypeError: unsupported operand type(s) for /: 'str' and 'int'
History
Date User Action Args
2021-07-16 20:51:10ammar2setrecipients: + ammar2, terry.reedy, nedbat, aroberge, Mark.Shannon, serhiy.storchaka, pablogsal, miss-islington, brandtbucher, BTaskaya
2021-07-16 20:51:10ammar2setmessageid: <1626468670.75.0.0137718767081.issue43950@roundup.psfhosted.org>
2021-07-16 20:51:10ammar2linkissue43950 messages
2021-07-16 20:51:10ammar2create