Terry J. Reedy added the comment:

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.

----------
nosy: +terry.reedy

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25303>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to