Message5044
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. |
|
Date |
User |
Action |
Args |
2009-08-16 10:44:50 | cgroves | set | messageid: <1250419490.77.0.0429238029617.issue1438@psf.upfronthosting.co.za> |
2009-08-16 10:44:50 | cgroves | set | recipients:
+ cgroves, fabioz |
2009-08-16 10:44:50 | cgroves | link | issue1438 messages |
2009-08-16 10:44:50 | cgroves | create | |
|