Author steve.dower
Recipients Anthony Sottile, Chris Billington, Ethan Smith, Ivan.Pozdeev, Peter L3, SilentGhost, __Vano, barry, brett.cannon, cheryl.sabella, christian.heimes, eric.smith, eric.snow, ionelmc, jaraco, mhammond, ncoghlan, pitrou, steve.dower, takluyver, terry.reedy, veky
Date 2019-03-07.15:38:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1551973136.09.0.645335062096.issue33944@roundup.psfhosted.org>
In-reply-to
Content
There are two features here, let's be clear about what we're removing.

* extending sys.path with static (perhaps relative) directories
* arbitrary code execution (following "import " statements)

Only Barry wants to remove the first one, and the rest of us will push back hard enough to keep him in check ;)

Basically everyone wants to remove the second one, but we can't do that until there is replacement functionality for its legitimate use cases.

Looking at Anthony's list (and making some assumptions about what the titles mean), I'd propose that only encodings require a way to register them from an installed package. And maybe this is as simple as making "encodings" a namespace package?

For the others:

* backport, demo - no idea what these look like
* coverage, debugging, demo, except-hook - application/user responsibility, not a package's
* monkey-patching - kill it with fire
* import-hook, module-layout - easy enough to work around

(For those who are confused about the last, using a package __init__.py is how to modify these *when your package is actually loaded* and not on startup.)
History
Date User Action Args
2019-03-07 15:38:56steve.dowersetrecipients: + steve.dower, mhammond, barry, brett.cannon, terry.reedy, jaraco, ncoghlan, pitrou, eric.smith, christian.heimes, ionelmc, SilentGhost, __Vano, eric.snow, takluyver, veky, Ivan.Pozdeev, Anthony Sottile, Ethan Smith, cheryl.sabella, Chris Billington, Peter L3
2019-03-07 15:38:56steve.dowersetmessageid: <1551973136.09.0.645335062096.issue33944@roundup.psfhosted.org>
2019-03-07 15:38:56steve.dowerlinkissue33944 messages
2019-03-07 15:38:55steve.dowercreate