On a narrow build:
>>> ghost = u'👻'
>>> repr(ghost)
"u'\\U0001f47b'"
>>> print u'\U0001f47b'
👻
>>> g = 0x0001f47b
>>> unichr(g)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: unichr() arg not in range(0x10000) (narrow Python build)
>>> ('\\U%08x' % g).decode('unicode-escape')
u'\U0001f47b'
>>> print ('\\U%08x' % g).decode('unicode-escape')
👻