[Python-Dev] Enhancing the shutil module

Brett Cannon brett at python.org
Sun Jan 17 20:55:47 CET 2010


On Sun, Jan 17, 2010 at 11:51, Tarek Ziadé <ziade.tarek at gmail.com> 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.
>

If it's archive-agnostic then shutil is probably the best 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.
>
>
Great!


> Any objections/opinions ?
>

No objections from me.

-Brett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20100117/f97ac6eb/attachment-0007.htm>


More information about the Python-Dev mailing list