Message93254
In Python 2.6, .pyc files inherit the executable bit from their .py
file. This can lead to strangeness:
$ echo pass > test.py
$ chmod u+x test.py
$ python2.6 -c "import test"
$ ls -l test.pyc
-rwxrw-r-- 1 steve steve 94 2009-09-29 16:54 test.pyc
$ ./test.pyc
: command not found �� |
|
Date |
User |
Action |
Args |
2009-09-29 06:57:14 | steven.daprano | set | recipients:
+ steven.daprano |
2009-09-29 06:57:14 | steven.daprano | set | messageid: <1254207434.5.0.560245182019.issue7016@psf.upfronthosting.co.za> |
2009-09-29 06:57:07 | steven.daprano | link | issue7016 messages |
2009-09-29 06:57:07 | steven.daprano | create | |
|