Message104533
Here's an example, which shows that an empty __pycache__ has been created:
$ mkdir test
$ echo ":" > test/file.py
$ tree test
test
└── file.py
0 directories, 1 file
$ python3.2 -c 'import compileall; compileall.compile_file("test/file.py")'
Compiling test/file.py ...
*** File "test/file.py", line 1
:
^
SyntaxError: invalid syntax
$ tree test
test
├── file.py
└── __pycache__
1 directory, 1 file |
|
Date |
User |
Action |
Args |
2010-04-29 15:57:41 | Arfrever | set | recipients:
+ Arfrever, barry |
2010-04-29 15:57:41 | Arfrever | set | messageid: <1272556661.45.0.749553623518.issue8563@psf.upfronthosting.co.za> |
2010-04-29 15:57:40 | Arfrever | link | issue8563 messages |
2010-04-29 15:57:40 | Arfrever | create | |
|