Message11773

Author jeff.allen
Recipients alexgobbo, jeff.allen, jon4than
Date 2018-03-10.07:51:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1520668272.25.0.467229070634.issue2634@psf.upfronthosting.co.za>
In-reply-to
Content
At first I wondered whether (since MyClass is not a Java subclass of TestClass) this should be allowed, but protected method1 is accessible when protected final method3 is not, which is silly. I'm assuming both should be accessible.

After an initial investigation, I believe we should blame the construction of the MRO for MyClass, in  PyType.newType .. PyType.setupProxy .. MakeProxies.makeProxy. "method3" seems simply not to get into the list, although various related names do, as seen from PyType.lookup_where_mro.

I'm assigning to me provisionally as I've tunnelled in quite a way just to understand it.
History
Date User Action Args
2018-03-10 07:51:12jeff.allensetmessageid: <1520668272.25.0.467229070634.issue2634@psf.upfronthosting.co.za>
2018-03-10 07:51:12jeff.allensetrecipients: + jeff.allen, jon4than, alexgobbo
2018-03-10 07:51:12jeff.allenlinkissue2634 messages
2018-03-10 07:51:11jeff.allencreate