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 Mark Shoulson
Recipients Mark Shoulson, ezio.melotti, vstinner
Date 2016-10-13.19:47:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1476388034.81.0.0881168624488.issue28434@psf.upfronthosting.co.za>
In-reply-to
Content
Python3.4 does not appear to know about the Unicode character U+1F441 EYE, although it does know about nearby characters which were added to Unicode at the same time:

>>> "\N{EYES}"   # This is character U+1F440
'👀'
>>> "\N{NOSE}"   # This is U+1F442
'👃'
>>> "\N{EYE}"
  File "<stdin>", line 1
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 0-6: unknown Unicode character name
>>> import unicodedata
>>> unicodedata.lookup("EYES")
'👀'
>>> unicodedata.lookup("EYE")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
KeyError: "undefined character name 'EYE'"
>>> unicodedata.name('👀')
'EYES'
>>> unicodedata.name('👁')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: no such name
>>>
History
Date User Action Args
2016-10-13 19:47:14Mark Shoulsonsetrecipients: + Mark Shoulson, vstinner, ezio.melotti
2016-10-13 19:47:14Mark Shoulsonsetmessageid: <1476388034.81.0.0881168624488.issue28434@psf.upfronthosting.co.za>
2016-10-13 19:47:14Mark Shoulsonlinkissue28434 messages
2016-10-13 19:47:14Mark Shoulsoncreate