On Mon, 28 Sep 2009 17:01:40 +1000, Cameron Simpson wrote:

> On 26Sep2009 10:24, Peng Yu <pengyu...@gmail.com> wrote: | >
> [st...@sylar test]$ ls -l
> | > total 16
> | > -rw-rw-r-- 1 steve steve  6 2009-09-26 23:06 test.py | > -rw-rw-r--
> 1 steve steve 94 2009-09-26 23:08 test.pyc | >
> | > Have you checked the umask of your system? |
> | Here are my test case. If the .py file has the 'x' mode, the |
> corresponding .pyc file also has the 'x' mode after the .py file is |
> imported.
> 
> Yes, I see this too.

Is this a problem?

Taking a wild guess, I'd imagine that the .pyc file gets its permissions 
copied from the .py file. I don't see that as a major issue. A buglet, 
rather than a bug, at worst.




-- 
Steven
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to