Message252634
I agree that the proposal as written should be rejected. I am inclined to think this issue should be closed.
I do not understand the claim about 'python -m py_compile'. For me, this does nothing, as I would expect from reading the code. If args = sys.arg[1:] is empty, the else clause for loop immediately quits.
Syntax checking is easily done with compile; that is how IDLE does it.
python -c "compile(open(<filename>).read(), '', 'exec').
should do what Pavel tried to do, except for getting a SyntaxError instead of py_compile.PyCompileError. |
|
Date |
User |
Action |
Args |
2015-10-09 18:36:56 | terry.reedy | set | recipients:
+ terry.reedy, eric.araujo, r.david.murray, proski |
2015-10-09 18:36:56 | terry.reedy | set | messageid: <1444415816.81.0.127378167723.issue25303@psf.upfronthosting.co.za> |
2015-10-09 18:36:56 | terry.reedy | link | issue25303 messages |
2015-10-09 18:36:56 | terry.reedy | create | |
|