Should PyImport_ImportModule be threadsafe when importing from zipfiles?
Chris Angelico
rosuav at gmail.com
Fri Feb 21 06:24:23 EST 2020
On Fri, Feb 21, 2020 at 8:58 PM Geoff Bache <geoff.bache at gmail.com> wrote:
>
> But, as I say, I don't have the module loaded beforehand, so caching it from sys.modules and restoring it afterwards won't be possible.
Those lines go into the actual file you're importing.
> Basically I'm looking for hints as to information about known problems and whether this kind of thing is likely to work anyway, and also hints for debugging - as in extracting more information about possible causes rather than documenting the symptoms further. I think I already have a fairly good overview of the symptoms.
>
Yeah, changing the actual module that's being messed with might help
with that. I am kinda clutching at straws though.
ChrisA
More information about the Python-list
mailing list