Author christoph.wiedemann
Recipients brett.cannon, christoph.wiedemann, cschramm, eric.snow, ncoghlan, petr.viktorin, scoder
Date 2018-08-02.09:01:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1533200496.75.0.56676864532.issue34309@psf.upfronthosting.co.za>
In-reply-to
Content
Okay, completely restarting python is not really necessary. Being able to reliably unload and later on re-import python modules (extension modules as well as pure python modules) in an embedded python runtime would solve my problems. 

One way to achieve that is currently Py_Initialize / Py_Finalize, but there are the drawbacks already mentioned. Another possibility is using sub-interpreters. 

If either of these could be fixed for extension modules (possibly with unloading the shared objects / DLL's :) ) I'd be fine.

I completely understand your point about backporting and it is not an issue.
History
Date User Action Args
2018-08-02 09:01:36christoph.wiedemannsetrecipients: + christoph.wiedemann, brett.cannon, ncoghlan, scoder, petr.viktorin, eric.snow, cschramm
2018-08-02 09:01:36christoph.wiedemannsetmessageid: <1533200496.75.0.56676864532.issue34309@psf.upfronthosting.co.za>
2018-08-02 09:01:36christoph.wiedemannlinkissue34309 messages
2018-08-02 09:01:36christoph.wiedemanncreate