Author eric.snow
Recipients brett.cannon, christoph.wiedemann, eric.snow, ncoghlan, scoder
Date 2018-08-01.21:47:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1533160048.48.0.56676864532.issue34309@psf.upfronthosting.co.za>
In-reply-to
Content
Ah, thanks for clarifying.  So which of these is the main thing you really want:

1. reload extension modules
2. completely restart Python

It sounds like #1.  If that's the case then there are a number of issues to resolve to make it work.  However, there are some serious technical challenges to overcome. :/

So if it's #1 the problem space is relatively focused so a solution (if possible) would be tractable in the "short" term, so it *could* happen. :)  However, if it's #2 then a lot of things will have to fixed and so realistically it might never happen.

FYI, either way none of it will be backported, so the functionality would not be available on Python 3.7 or earlier.

---------------

FWIW, in VS Code they run their plugins (extensions) in a separate process.  Their docs give some insight into plugin system design. :)

   https://code.visualstudio.com/docs/extensionAPI/patterns-and-principles#_stability-extension-isolation
History
Date User Action Args
2018-08-01 21:47:28eric.snowsetrecipients: + eric.snow, brett.cannon, ncoghlan, scoder, christoph.wiedemann
2018-08-01 21:47:28eric.snowsetmessageid: <1533160048.48.0.56676864532.issue34309@psf.upfronthosting.co.za>
2018-08-01 21:47:28eric.snowlinkissue34309 messages
2018-08-01 21:47:28eric.snowcreate