This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients eric.araujo, proski, r.david.murray, terry.reedy
Date 2015-10-09.18:36:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1444415816.81.0.127378167723.issue25303@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-10-09 18:36:56terry.reedysetrecipients: + terry.reedy, eric.araujo, r.david.murray, proski
2015-10-09 18:36:56terry.reedysetmessageid: <1444415816.81.0.127378167723.issue25303@psf.upfronthosting.co.za>
2015-10-09 18:36:56terry.reedylinkissue25303 messages
2015-10-09 18:36:56terry.reedycreate