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 ronaldoussoren
Recipients Pixmew, ned.deily, ronaldoussoren, serhiy.storchaka
Date 2020-11-13.16:35:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1605285331.21.0.735942896257.issue42318@roundup.psfhosted.org>
In-reply-to
Content
With 8.6.10:

>>> print(ascii("😀")) raises the SyntaxError mentioned earlier
>>> print(ascii(input())) works and prints:
'\udced\udca0\udcbd\udced\udcb8\udc84'

In an editor window I don't get spurious text, but syntax colouring is a bit off: The text after the closing quote is coloured as if it is inside the string literal. That continues for the characters on the next line
History
Date User Action Args
2020-11-13 16:35:31ronaldoussorensetrecipients: + ronaldoussoren, ned.deily, serhiy.storchaka, Pixmew
2020-11-13 16:35:31ronaldoussorensetmessageid: <1605285331.21.0.735942896257.issue42318@roundup.psfhosted.org>
2020-11-13 16:35:31ronaldoussorenlinkissue42318 messages
2020-11-13 16:35:31ronaldoussorencreate