Too late for that ;-)
Add a newline at the end of the file. Without it, it's not
valid syntax for the function dev.
> -----Original Message-----
> From: jython-users-bounces@...
> [mailto:jython-users-bounces@...] On Behalf=20
> Of astigmatik@...
> Sent: Tuesday, April 24, 2007 11:30 AM
> To: jython-users@...
> Subject: [Jython-users] weird behavior
> I hope you folks are not sick of me already.. But here's=20
> something that is really baffling.
> This is from one of my scripts (including the commented lines)
> import re
> def test(session, data):
> # temp =3D re.search('^\:(\S+) \d+ \S+ \:?(.*)$', data)
> # temp.groups()
> When I try to run it, I get this error:
> C:\JYTHON2.2B1>jython odd.py
> Traceback (innermost last):
> (no code object) at line 0
> File "odd.py", line 5
> SyntaxError: invalid syntax
> Why is it giving me an error when those lines are supposed to=20
> be commented out?
> Thanks. And I hope somebody replies :-/