Message393220
It's almost certainly due to that change, though I'd be interested to see a more realistic repro.
For the repro shown, you really ought to be clearing the importer cache as well when you remove a search path (as implied by chdir with a relative path on sys.path) and delete from sys.modules. The new abspath is only applied to the full path to the module, so the cache is still for the module, and not for the sys.path entry.
What's the actual scenario that this broke? |
|
Date |
User |
Action |
Args |
2021-05-07 20:29:13 | steve.dower | set | recipients:
+ steve.dower, brett.cannon, gregory.p.smith, jamesls |
2021-05-07 20:29:13 | steve.dower | set | messageid: <1620419353.48.0.292403388851.issue44070@roundup.psfhosted.org> |
2021-05-07 20:29:13 | steve.dower | link | issue44070 messages |
2021-05-07 20:29:13 | steve.dower | create | |
|