Message11639

Author jeff.allen
Recipients jeff.allen, lucabrasi
Date 2017-10-30.14:48:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1509374904.18.0.213398074469.issue2636@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for bringing this up. I think the explanation in the Stackoverflow post is probably correct. If so, it should be possible to make a toy example, separate from the given library.

I do not know of anything that would make _yang_name a special name.

Jython attempts to infer readability from the presence of getters and setters in some circumstances. The intention is to make Java Beans into objects with attributes. I'm surprised to see it in a pure Python class, where clearly it ├Čnterferes with perfectly proper Python.

Perhaps a work-around is to add a setter for the troublesome attribute? (Not tried this.)
History
Date User Action Args
2017-10-30 14:48:24jeff.allensetmessageid: <1509374904.18.0.213398074469.issue2636@psf.upfronthosting.co.za>
2017-10-30 14:48:24jeff.allensetrecipients: + jeff.allen, lucabrasi
2017-10-30 14:48:24jeff.allenlinkissue2636 messages
2017-10-30 14:48:23jeff.allencreate