Message6528

Author hyao
Recipients hyao
Date 2011-05-26.08:10:26
SpamBayes Score 1.1132221e-09
Marked as misclassified No
Message-id <1306397427.21.0.896787422498.issue1749@psf.upfronthosting.co.za>
In-reply-to
Content
It seems that function descriptors don't work correctly in interactive console; invoke the script on the cmdline works fine.

~$ jython
Jython 2.5.2 (Release_2_5_2:7206, Mar 2 2011, 23:12:06) 
[OpenJDK 64-Bit Server VM (Sun Microsystems Inc.)] on java1.6.0_20
Type "help", "copyright", "credits" or "license" for more information.
>>> class K(object):
...   @staticmethod
  File "<stdin>", line 2
    @staticmethod
                ^
SyntaxError: mismatched input '' expecting CLASS
History
Date User Action Args
2011-05-26 08:10:27hyaosetrecipients: + hyao
2011-05-26 08:10:27hyaosetmessageid: <1306397427.21.0.896787422498.issue1749@psf.upfronthosting.co.za>
2011-05-26 08:10:27hyaolinkissue1749 messages
2011-05-26 08:10:26hyaocreate