[issue12736] Request for python casemapping functions to use full not simple casemaps per Unicode's recommendation

2016-03-10 Thread Андрей Баксаляр
Андрей Баксаляр added the comment: Interestingly, the bug is still reproducible in version 3.5.1, but fixed in 2.7.6. -- versions: +Python 2.7 -Python 3.4 Added file: http://bugs.python.org/file42121/pythonbug.png ___ Python tracker <

[issue12736] Request for python casemapping functions to use full not simple casemaps per Unicode's recommendation

2016-03-10 Thread Андрей Баксаляр
Андрей Баксаляр added the comment: A same problem with the unicode case mapping is still present in the Python 3.4.3. You can repeat the bug with this code, for instance: 'ΰ'.upper().lower() == 'ΰ' The case swapping is strangelly leads to character replacement: b'\xce\xb0' → b'\xcf\x85\xcc