[Python-Dev] Removal of install_misc command from distutils

Brett Cannon brett at python.org
Fri Jul 6 15:11:23 EDT 2018


For referencing, the commit was
https://github.com/python/cpython/commit/ef158c3ced3fce39e43f54e8d149dc2714e3456e#diff-ef2e84716aa6196aa0ebf0691e608986
and the issue was https://bugs.python.org/issue29218 .

On Thu, 5 Jul 2018 at 11:27 Alexander Belopolsky <
alexander.belopolsky at gmail.com> wrote:

> I started porting my project [1] to Python 3.7 and came across bpo-29218:
>
> "The unused distutils install_misc command has been removed."  [2]
>
> Historically, the distutils package was very conservative about changes
> because many 3rd party packages extended it in ways unforeseen by the
> Python core developers.  As far as I can tell, this removal was done
> without a deprecation period or any public discussion.
>
> The comment above the command class [3] was there for 18 years and
> promised to "keep it around for the time being."  Why did it suddenly
> become necessary to remove it in 3.7?  Is shedding 20 lines of code really
> worth the risk of breaking user code?
>
> [1]: https://github.com/KxSystems/pyq
> [2]: https://docs.python.org/3/whatsnew/3.7.html#api-and-feature-removals
> [3]:
> https://github.com/python/cpython/commit/aae45f93e7b7708deb1ce9d69b58fa029106613d
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> https://mail.python.org/mailman/options/python-dev/brett%40python.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20180706/8ab49073/attachment-0001.html>


More information about the Python-Dev mailing list