[ZCM] [ZC] 2295/ 1 Request "PythonScript comments cause syntax error"

"Collector: Zope Bugs, Features, and Patches ..." <[email protected]> Wed, 21 Mar 2007 18:30:36 -0400
Newsgroups gmane.comp.web.zope.devel.collector-monitor
Message-ID <[email protected]>
Issue #2295 Update (Request) "PythonScript comments cause syntax error"
 Status Pending, Zope/bug medium
To followup, visit:
  http://www.zope.org/Collectors/Zope/2295

==============================================================
= Request - Entry #1 by bacarter on Mar 21, 2007 6:30 pm

A bare conditional in a python script followed by a comment causes a syntax error.  This same code is legal python.

Example:
if False:
  pass
#hi

==============================================================