[Python-Dev] Enhancing the shutil module

Michael Foord fuzzyman at voidspace.org.uk
Sun Jan 17 20:53:03 CET 2010

On 17/01/2010 19:51, Tarek Ziadé wrote:
> Hello,
> For 2.7/3.2, I am in the process of removing modules in Distutils that
> can be replaced by calls to existing functions in stdlib. For
> instance, "dir_util" and "file_util" (old modules from the Python 1.x
> era) are going away in favor of calls to shutil (and os), so the
> Distutils package gets lighter.
> Another module I would like to move away from Distutils is
> "archive_util". It contains helpers to build archives, whether they
> are zip or tar files. I propose to move those useful functions into
> shutil, as this seems the most logical place.
> I also propose to maintain this "shutil" module for now on (no one is
> declared as a maintainer in maintainers.rst) since Distutils will
> become a heavy user of its functions.
> Any objections/opinions ?
> Regards,
> Tarek
I think it's a great idea. :-)



READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (”BOGUS AGREEMENTS”) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer.

More information about the Python-Dev mailing list