Message6551

Author babelmania
Recipients babelmania
Date 2011-06-15.08:06:31
SpamBayes Score 0.0018031632
Marked as misclassified No
Message-id <1308125191.35.0.169198456708.issue1759@psf.upfronthosting.co.za>
In-reply-to
Content
Consider the following code
<<<
class Foo:
    def __init__(self):
        self.return=1
        self.other=2
        return

    pass

foo=Foo()
print foo.return
<<<

Jython accepts and executes this code, but I believe it is wrong as it uses a reserved word.
History
Date User Action Args
2011-06-15 08:06:31babelmaniasetrecipients: + babelmania
2011-06-15 08:06:31babelmaniasetmessageid: <1308125191.35.0.169198456708.issue1759@psf.upfronthosting.co.za>
2011-06-15 08:06:31babelmanialinkissue1759 messages
2011-06-15 08:06:31babelmaniacreate