[Zope-dev] Required final newline in Script (Python) in Zope 2.4.3

Jean Jordaan jean@upfrontsystems.co.za
Mon, 17 Dec 2001 13:50:48 +0200


Hi people

I'm moving an app to Zope 2.4.3, and one thing I've discovered is
that methods that don't end with a final newline are invalid::

  Script line 13
    REQUEST.RESPONSE.redirect(url)
                                 ^
  SyntaxError: invalid syntax

If I go press return after the ), everything is fine. 

Is this a feature? An inevitability? Is it Good For Me?

Regards,
Jean Jordaan