New submission from Matthias Klose <d...@debian.org>: when byte-compiling files in a deb/rpm package distributed e.g. in a Linux distribution, it is sometimes wanted to only touch the files found in the deb/rpm, which can be a subset of the files in a directory. the attached patch now lets compileall accept files as arguments as well and adds the recognition of @<filelist> and @- to expand the arguments with the contents of the file (@- meaning to read for stdin). Is this ok for 2.7, and a port of that to 3.2?
---------- components: Library (Lib) files: compileall.py.diff keywords: patch messages: 101064 nosy: doko severity: normal status: open title: extend compileall to compile single files versions: Python 2.7, Python 3.2 Added file: http://bugs.python.org/file16548/compileall.py.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8140> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com