Message182283
Since d4eb02b6aac9 py_compile.compile() replaces target files, breaking special files and symlinks. Any custom permissions set on target files are also lost. This is a major regression.
# cd /tmp
# touch test.py
# ls -l /dev/null
crw-rw-rw- 1 root root 1, 3 Feb 17 21:16 /dev/null
# python3.3 -c 'import py_compile; py_compile.compile("test.py", cfile="/dev/null")'
# ls -l /dev/null
crw-rw-rw- 1 root root 1, 3 Feb 17 21:16 /dev/null
# python3.4 -c 'import py_compile; py_compile.compile("test.py", cfile="/dev/null")'
# ls -l /dev/null
-rw-r----- 1 root root 102 Feb 17 21:53 /dev/null |
|
Date |
User |
Action |
Args |
2013-02-17 21:23:44 | Arfrever | set | recipients:
+ Arfrever, brett.cannon, ncoghlan, eric.snow |
2013-02-17 21:23:44 | Arfrever | set | messageid: <1361136224.16.0.490340842207.issue17222@psf.upfronthosting.co.za> |
2013-02-17 21:23:44 | Arfrever | link | issue17222 messages |
2013-02-17 21:23:43 | Arfrever | create | |
|