diff options
author | Damien George <damien.p.george@gmail.com> | 2017-01-08 20:17:23 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-01-08 20:17:23 +1100 |
commit | b528e9a428f92241d2cf3bb30f78b0d65e1a8428 (patch) | |
tree | 29925eef4b895a92d4b3f8828b479a3b69072b5b /unix/coverage-frzmpy | |
parent | b2611d6be305c94359f67df875786858e05c3eb0 (diff) | |
download | micropython-b528e9a428f92241d2cf3bb30f78b0d65e1a8428.tar.gz micropython-b528e9a428f92241d2cf3bb30f78b0d65e1a8428.zip |
py/builtinimport: Fix bug when importing names from frozen packages.
The commit d9047d3c8a99603884db25076c37778f50633ca6 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.
Diffstat (limited to 'unix/coverage-frzmpy')
0 files changed, 0 insertions, 0 deletions