[Python-Dev] Enhancing the shutil module
ziade.tarek at gmail.com
Sun Jan 17 20:51:58 CET 2010
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 ?
Tarek Ziadé | http://ziade.org
More information about the Python-Dev