Message5044

Author cgroves
Recipients cgroves, fabioz
Date 2009-08-16.10:44:50
SpamBayes Score 4.488066e-06
Marked as misclassified No
Message-id <1250419490.77.0.0429238029617.issue1438@psf.upfronthosting.co.za>
In-reply-to
Content
I'm afraid no matter what, respectJavaAccessibility is going to change what things are available to Python. My 
preference has always been to make it act as close to regular lookup as possible, just making everything public.  That 
makes it more sane for a user trying to figure out what is being exposed as it doesn't have a completely different set 
of rules.

Basically, respectJavaAccessibility is a hack, and I don't think it should be used for anything other than interactive 
exploration.  If I were implementing Jython from scratch, there's no way I would've added it, and I'm hoping to remove 
it altogether in Jy3k.  I highly recommend that you use regular Java reflection to look things in pydev.  It'll be much 
more reliable.
History
Date User Action Args
2009-08-16 10:44:50cgrovessetmessageid: <1250419490.77.0.0429238029617.issue1438@psf.upfronthosting.co.za>
2009-08-16 10:44:50cgrovessetrecipients: + cgroves, fabioz
2009-08-16 10:44:50cgroveslinkissue1438 messages
2009-08-16 10:44:50cgrovescreate