I was expecting the code below to be the same between python3.4 and 3.5. I need a mapping between the integers and unicode that is consistant between 3.4 and 3.5
>>> import unicodedata >>> u = ''.join(chr(i) for i in range(65536) if (unicodedata.category(chr(i)) in ('Lu', 'Ll')))[945:965] >>> u 'ԡԢԣԤԥԦԧԨԩԪԫԬԭԮԯԱԲԳԴԵ' Python 3.4 >>> import unicodedata >>> u = ''.join(chr(i) for i in range(65536) if (unicodedata.category(chr(i)) in ('Lu', 'Ll')))[945:965] >>> u 'ԢԣԤԥԦԧԱԲԳԴԵԶԷԸԹԺԻԼԽԾ' As you can see they are not the same . 'ԡԢԣԤԥԦԧԨԩԪԫԬԭԮԯԱԲԳԴԵ' 'ԢԣԤԥԦԧԱԲԳԴԵԶԷԸԹԺԻԼԽԾ' Vincent Davis 720-301-3003 -- https://mail.python.org/mailman/listinfo/python-list