[Import-SIG] deprecation of pkgutil.extend_path()?
Eric V. Smith
eric at trueblade.com
Fri Jul 19 00:28:41 CEST 2013
On 7/18/2013 6:20 PM, Eric Snow wrote:
> Was there any discussion, relative to PEP 420, about deprecating
> pkgutil.extend_path()? The PEP talks about transitioning away from the
> function, but does not talk about deprecation.
I don't recall any such discussion. It just never came up.
> I ask because the PEP I just posted to this list fills the role played
> by the `.pkg` files that extend_path() uses. Since the two are tightly
> coupled, it doesn't make sense to deprecate one without doing so for the
> Is there any reason not to put extend_path() on a (conservative)
> deprecation schedule? Considering that it's related and that I'm
> proposing deprecation of `.pth` files, I can simply include such a
> schedule as part of my PEP.
I haven't read the PEP yet, so I'll have to wait to comment. I'm not
opposed to removing it, though.
More information about the Import-SIG