Commit 0075110
committed
Issue #18364: Stop using the ImportError._not_found hack.
The private attribute was leaking out of importlib and led to at least
one person noticing it. Switch to another hack which won't leak
outside of importlib and is nearly as robust.1 parent e0a39de commit 0075110
2 files changed
Lines changed: 3551 additions & 3556 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1536 | 1536 | | |
1537 | 1537 | | |
1538 | 1538 | | |
1539 | | - | |
| 1539 | + | |
| 1540 | + | |
1540 | 1541 | | |
1541 | 1542 | | |
1542 | 1543 | | |
| |||
1556 | 1557 | | |
1557 | 1558 | | |
1558 | 1559 | | |
1559 | | - | |
1560 | | - | |
1561 | | - | |
1562 | | - | |
1563 | | - | |
| 1560 | + | |
1564 | 1561 | | |
1565 | 1562 | | |
1566 | 1563 | | |
| |||
1650 | 1647 | | |
1651 | 1648 | | |
1652 | 1649 | | |
1653 | | - | |
1654 | | - | |
1655 | | - | |
| 1650 | + | |
1656 | 1651 | | |
1657 | 1652 | | |
1658 | 1653 | | |
| |||
0 commit comments