This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients benjamin.peterson, mark.dickinson, monsanto
Date 2010-07-11.20:37:47
SpamBayes Score 0.0021901422
Marked as misclassified No
Message-id <1278880668.66.0.0716161993283.issue9226@psf.upfronthosting.co.za>
In-reply-to
Content
Jython 2.5.1 gives the same results as Python:

newton:~ dickinsm$ cat test.py
x = "error"

def test(x):
    class Test(object):
        x = x
    print("x: ", x)
    print("Test.x: ", Test.x)

test("success")
newton:~ dickinsm$ jython2.5.1/jython test.py
('x: ', 'success')
('Test.x: ', 'error')
History
Date User Action Args
2010-07-11 20:37:48mark.dickinsonsetrecipients: + mark.dickinson, benjamin.peterson, monsanto
2010-07-11 20:37:48mark.dickinsonsetmessageid: <1278880668.66.0.0716161993283.issue9226@psf.upfronthosting.co.za>
2010-07-11 20:37:47mark.dickinsonlinkissue9226 messages
2010-07-11 20:37:47mark.dickinsoncreate