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 Pixmew
Recipients Pixmew, ned.deily, ronaldoussoren, serhiy.storchaka
Date 2020-11-13.16:28:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Well for me in Python 3.9.0
print("😀")   prints 😀  and 
 print(ascii("😀"))   prints '\U0001f600'

It does not Raises error "utf-8' codec can't encode characters in position 7-12: surrogates not allowed." as you are suggesting
Date User Action Args
2020-11-13 16:28:25Pixmewsetrecipients: + Pixmew, ronaldoussoren, ned.deily, serhiy.storchaka
2020-11-13 16:28:24Pixmewsetmessageid: <>
2020-11-13 16:28:24Pixmewlinkissue42318 messages
2020-11-13 16:28:24Pixmewcreate