Only Bytecode, No .py Files

Terry Reedy tjreedy at udel.edu
Tue Jul 26 17:25:52 EDT 2011


On 7/26/2011 3:32 PM, Dan Stromberg wrote:
>
> Another possibility: You could probably create a bunch of zero-length
> .py's that are older than the corresponding .pyc's.
>
> On Tue, Jul 26, 2011 at 8:19 AM, Eldon Ziegler <eldonz at atlanticdb.com
> <mailto:eldonz at atlanticdb.com>> wrote:
>
>     Is there a way to have the Python processor look only for bytecode
>     files, not .py files? We are seeing huge numbers of Linux audit messages
>     on production system on which only bytecode files are stored. The audit
>     subsystem is recording each open failure.

Try packaging the app into a zip file so there is only one open, which 
succeeds.

-- 
Terry Jan Reedy




More information about the Python-list mailing list