Author Dormouse759
Recipients Dormouse759, ncoghlan, petr.viktorin, scoder, terry.reedy
Date 2017-09-01.16:04:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1504281849.2.0.759693143952.issue30403@psf.upfronthosting.co.za>
In-reply-to
Content
Sorry for not responding for so long, I didn't work on Python through the summer because of some other matters.

Re-execution of the module is not possible, because there is a check on the C level, If you call exec_in_module() on an already initialized module, it'll raise ImportError.

Also, because of this check, there is the restriction for py_mod_create. "Modules" defining this slot might not be module objects at all, so they might not have the module state pointer (which is used to flag if the module was initialized).
History
Date User Action Args
2017-09-01 16:04:09Dormouse759setrecipients: + Dormouse759, terry.reedy, ncoghlan, scoder, petr.viktorin
2017-09-01 16:04:09Dormouse759setmessageid: <1504281849.2.0.759693143952.issue30403@psf.upfronthosting.co.za>
2017-09-01 16:04:09Dormouse759linkissue30403 messages
2017-09-01 16:04:08Dormouse759create