[Python-checkins] CVS: python/dist/src/Doc/tools listmodules,1.3,1.4
Fred L. Drake
python-dev@python.org
Fri, 17 Nov 2000 11:05:15 -0800
Update of /cvsroot/python/python/dist/src/Doc/tools
In directory slayer.i.sourceforge.net:/tmp/cvs-serv31740/tools
Modified Files:
listmodules
Log Message:
Note that readframes() returns data in linear format, even if the original
is encoded in u-LAW format. Based on suggestion from Anthony Baxter
<anthony_baxter@users.sourceforge.net>.
This closes bug #122273.
Index: listmodules
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/tools/listmodules,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** listmodules 1999/06/17 18:49:18 1.3
--- listmodules 2000/11/17 19:05:12 1.4
***************
*** 9,24 ****
"""%(program)s - list modules in the Python standard library
! -a, --annotate Annotate the module names with the subdirectory they live in
-c, --categorize Group the modules by subdirectory
-i <file>,
- --ignore-from <file> Ignore the modules listed in <file>. <file> may contain
- a list of module names or a module index file as produced
- when formatting the Python documentation (.idx flavor).
! If neither -a nor -c are given, the modules are listed in alphabetical order.
Note that -a and -c are mutually exclusive.
- Limitation: Modules loadable as shared objects are not listed.
"""
--- 9,30 ----
"""%(program)s - list modules in the Python standard library
! -a, --annotate Annotate the module names with the subdirectory they
! live in
-c, --categorize Group the modules by subdirectory
-i <file>,
! --ignore-from <file> Ignore the modules listed in <file>. <file> may
! contain a list of module names or a module index file
! as produced when formatting the Python documentation
! (.idx or .html flavor).
+ If neither -a nor -c are given, the modules are listed in alphabetical
+ order.
+
Note that -a and -c are mutually exclusive.
+
+ Limitation: Modules loadable as shared objects may not be listed,
+ though this script attempts to locate such modules.
"""
***************
*** 33,37 ****
! REMOVE_DIRS = ["dos-8x3", "lib-old", "lib-stdwin", "test"]
--- 39,44 ----
! REMOVE_DIRS = ["dos-8x3", "encodings", "distutils",
! "lib-old", "lib-stdwin", "test"]
***************
*** 87,91 ****
modules_by_name[name] = "<built-in>"
l.append(name)
! rx = re.compile("Lib/plat-[a-z0-9]*/", re.IGNORECASE)
fp = os.popen("find Lib -name \*.py -print", "r")
while 1:
--- 94,98 ----
modules_by_name[name] = "<built-in>"
l.append(name)
! rx = re.compile("Lib/plat-[a-zA-Z0-9]*/")
fp = os.popen("find Lib -name \*.py -print", "r")
while 1: