summaryrefslogtreecommitdiff
path: root/Python/Python-ast.c
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-09-01 05:11:29 +0200
committerÉric Araujo <merwok@netwok.org>2011-09-01 05:11:29 +0200
commit1bbddaf95a3e3c81a2024496a3db6b81811d48a6 (patch)
treec9cd66ae1d71ad3e61af3e6d6755c389d80a52a4 /Python/Python-ast.c
parent981c7d1cb97d7af5f767e7eea8ebe3ff580ca3e1 (diff)
downloadcpython-1bbddaf95a3e3c81a2024496a3db6b81811d48a6.tar.gz
Clean up packaging.util: add __all__, remove some unused functions.
This huge module is the heir of six distutils modules, and contains a number of miscellaneous functions. I have attempted to help readers of the source code with an annoted __all__. Removed or deprecated functions have been removed from the documentation; I’m working on another patch to document the remaining public functions. For the curious: The unzip_file and untar_file were used by (or intended to be used by) “pysetup install path/to/archive.tar.gz”, but the code presently used shutil.unpack_archive and an helper function, so I just deleted them. They’re still in the repository if we need them in the future. The find_packages function is not used anymore but I want to discuss module and package auto-discovery (in “pysetup create”) again before removing it. subst_vars now lives in sysconfig; rfc822_escape is inlined in packaging.metadata. Other functions are for internal use only, or deprecated; I have left them out of __all__ and sprinkled TODO notes for future cleanups.
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions