[chirp_devel] Using Python properties

Tom Hayward
Wed Sep 11 22:23:58 PDT 2013


On Sep 11, 2013 6:03 PM, "Michael Pittaro" <mikeyp at lhrc.com> wrote:
>
>
> While making some changes to the Platform class, I realized the code
could probably be simplified by removing some getters and using properties
instead.  However, to make that change, the Platform class needs to be
derived from Object, which converts it to a new style class.
>
> This appears to be a safe change, but I wanted to get other opinions
before I did that.

I've done this with other Chirp classes without issue.

Tom KD7LXL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20130911/73cbd75d/attachment-0001.html 


More information about the chirp_devel mailing list