View Single Post
Old 01-11-2021, 12:29 AM   #9
bugstomper
Member
bugstomper began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jun 2017
Device: kindle
Oh, I see how certifi/core.py could interact with this problem. If its where() method is called for the first time in a state where get_path returns the temporary directory, and then the temporary directory is deleted, subsequent calls to where() will fail in just this way. It does not have to have anything to do with the code in it that uses __file__ as long as it is called for the first time in a context in which get_path really is supposed to return the temporary directory.
bugstomper is offline   Reply With Quote