forked fromadafruit/circuitpython
- Notifications
You must be signed in to change notification settings - Fork1
Commitb528e9a
committed
py/builtinimport: Fix bug when importing names from frozen packages.
The commitd9047d3 introduced a bugwhereby "from a.b import c" stopped working for frozen packages. This isbecause the path was not properly truncated and became "a//b". Such apath resolves correctly for a "real" filesystem, but not for a search inthe list of frozen modules.1 parentb2611d6 commitb528e9a
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
466 | 466 | | |
467 | 467 | | |
468 | 468 | | |
| 469 | + | |
469 | 470 | | |
470 | 471 | | |
471 | 472 | | |
472 | | - | |
473 | 473 | | |
474 | 474 | | |
475 | 475 | | |
476 | | - | |
477 | 476 | | |
| 477 | + | |
478 | 478 | | |
479 | 479 | | |
480 | 480 | | |
| |||
0 commit comments
Comments
(0)