py/builtinimport: Fix bug when importing names from frozen packages.
The commit d9047d3c introduced a bug whereby "from a.b import c" stopped working for frozen packages. This is because the path was not properly truncated and became "a//b". Such a path resolves correctly for a "real" filesystem, but not for a search in the list of frozen modules.
Showing
Please register or sign in to comment