Author eric.smith
Recipients barry, brett.cannon, eric.smith, jaraco
Date 2012-05-03.21:04:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
DirsOnSysPath doesn't clear sys.path_importer_cache, so it seems you'd always want to use import_state, which does clear it.

We might also want to modify import_state to remember the original objects, not just their values. DirsOnSysPath does do this, for sys.path.

If we do this, we should probably move import_state to

Also, couldn't import_state do with sys.modules what DirsOnSysPath does with sys.path? It could restore both the object and its contents.
Date User Action Args
2012-05-03 21:04:29eric.smithsetrecipients: + eric.smith, barry, brett.cannon, jaraco
2012-05-03 21:04:29eric.smithsetmessageid: <>
2012-05-03 21:04:29eric.smithlinkissue14715 messages
2012-05-03 21:04:29eric.smithcreate