[issue39832] Modules with decomposable characters in module name not found on macOS

2020-03-10 Thread Brett Cannon
Brett Cannon added the comment: Regardless of which module is proposed to solve this, there is still a bootstrapping issue to consider. -- ___ Python tracker ___

[issue39832] Modules with decomposable characters in module name not found on macOS

2020-03-09 Thread Norbert
Norbert added the comment: Yes, if the Python runtime caches file names and determines based on the cache whether a file exists, then it needs to normalize both the file names in the cache and the name of the file it’s looking for. As far as I know, both HFS and APFS do this themselves when

[issue39832] Modules with decomposable characters in module name not found on macOS

2020-03-09 Thread Brett Cannon
Brett Cannon added the comment: The import system makes no attempt at normalizing Unicode strings for path comparisons. One would have to probably update FileFinder (https://github.com/python/cpython/blob/master/Lib/importlib/_bootstrap_external.py#L1392) somehow (assuming the appropriate

[issue39832] Modules with decomposable characters in module name not found on macOS

2020-03-07 Thread Ned Deily
Ned Deily added the comment: This seems like more an import issue than a uniquely macOS issue. Also, a quick search found Issue10952 which appears to be similar. -- nosy: +brett.cannon, vstinner ___ Python tracker

[issue39832] Modules with decomposable characters in module name not found on macOS

2020-03-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +macOS nosy: +ned.deily, ronaldoussoren ___ Python tracker ___ ___ Python-bugs-list

[issue39832] Modules with decomposable characters in module name not found on macOS

2020-03-02 Thread Norbert
New submission from Norbert : Modules whose names contain characters that are in precomposed form but can be decomposed in Normalization Form D can’t be found on macOS. To reproduce: 1. Download and unzip the attached file Modules.zip. This produces a directory Modules with four Python