[issue28434] U+1F441 EYE Missing in unicodedata

2016-10-13 Thread Ned Deily

Ned Deily added the comment:

The EYE code point was added in Unicode 7.0 which was first supported in Python 
3.5.0.

--
nosy: +ned.deily
resolution:  -> out of date
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28434] U+1F441 EYE Missing in unicodedata

2016-10-13 Thread Mark Shoulson

Mark Shoulson added the comment:

Sorry, NOSE is U+1F443; I should have used EAR which is U+1F442.  The result is 
the same.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28434] U+1F441 EYE Missing in unicodedata

2016-10-13 Thread Mark Shoulson

New submission from Mark Shoulson:

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 "", 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 "", line 1, in 
KeyError: "undefined character name 'EYE'"
>>> unicodedata.name('👀')
'EYES'
>>> unicodedata.name('👁')
Traceback (most recent call last):
  File "", line 1, in 
ValueError: no such name
>>>

--
components: Unicode
messages: 278594
nosy: Mark Shoulson, ezio.melotti, haypo
priority: normal
severity: normal
status: open
title: U+1F441 EYE Missing in unicodedata
type: behavior
versions: Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com