Arfrever Frehtes Taifersar Arahesis <[email protected]> added the comment:
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
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue8563>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com