This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author markon
Recipients markon, pdsimanyi
Date 2009-05-24.14:57:37
SpamBayes Score 1.6454911e-09
Marked as misclassified No
Message-id <1243177059.2.0.912389527418.issue6074@psf.upfronthosting.co.za>
In-reply-to
Content
It seems Python is using a default mask to compile modules.
If you open a file b.py as "r", and you import it from a.py, you can see
that b.pyc is:
-rwxr-xr-x 1 marco marco    9 24 mag 16:17 a.py
-r--r--r-- 1 marco marco   10 24 mag 16:17 b.py
-rw-r--r-- 1 marco marco  122 24 mag 16:46 b.pyc

If you try to run a.py:
-rwxr-xr-x 1 marco marco    9 24 mag 16:17 a.py
-r-xr-xr-x 1 marco marco   10 24 mag 16:17 b.py

you'll get:
-rw-r--r-- 1 marco marco  122 24 mag 16:49 b.pyc

as you can see, there is a default "mode" to create compiled modules...
History
Date User Action Args
2009-05-24 14:57:39markonsetrecipients: + markon, pdsimanyi
2009-05-24 14:57:39markonsetmessageid: <1243177059.2.0.912389527418.issue6074@psf.upfronthosting.co.za>
2009-05-24 14:57:38markonlinkissue6074 messages
2009-05-24 14:57:37markoncreate