[issue28461] Replacement of re with the regex package

2016-10-17 Thread Pierre Nugues
New submission from Pierre Nugues: I am using Unicode regexes in the form of properties: \p{} and these are not standard in the re module. I have to use the new regex module, which has to be installed separately. I would like to see the replacement of re with regex in the future Python

[issue23196] Greek letters not sorted properly

2015-01-09 Thread Pierre Nugues
Pierre Nugues added the comment: Hello David, This is not the same issue as 23195. I tested the Greek letters on your interactive console available at Python.org and this is not related to OS X. The Greek sorting works for all the characters I tested except the ‘ῖ’ character, which

[issue23196] Greek letters not sorted properly

2015-01-09 Thread Pierre Nugues
Pierre Nugues added the comment: Hello Victor, Thank you for your prompt answer. Which order do you expect? What is your OS? Result on Linux (Fedora 21) with the french UTF-8 locale. You can try this ICU demo http://demo.icu-project.org/icu-bin/locexp?_=eld_=frx=col and paste the list: Ά

[issue23196] Greek letters not sorted properly

2015-01-08 Thread Pierre Nugues
New submission from Pierre Nugues: Greek letters are not properly sorted when a locale is set. I tested a French and a Greek locales. Here is an output obtained from the Python interactive shell available from the python.org home page: In [22]: a Out[22]: ('Ά', 'Γ', 'Η', 'Κ', 'Ν', 'Ο

[issue23195] Sorting with locale does not work properly with Python3 on Macos

2015-01-08 Thread Pierre Nugues
New submission from Pierre Nugues: The sorted() function does not work properly with macosx. Here is a script to reproduce the issue: import locale locale.setlocale(locale.LC_ALL, fr_FR.UTF-8) a = [A, E, Z, a, e, é, z] sorted(a) sorted(a, key=locale.strxfrm) The execution on MacOsX produces