This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients serhiy.storchaka
Date 2017-03-09.17:10:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1489079402.47.0.435152463031.issue29776@psf.upfronthosting.co.za>
In-reply-to
Content
Following PR updates Python sources to use new shiny syntax for properties. It replaces the old code

    def _foo(self):
        ...

    def _set_foo(self, value):
        ...

    foo = property(_foo, _set_foo)

with the new code

    @property
    def foo(self):
        ...

    @foo.setter
    def foo(self, value):
        ...

New syntax was added in Python 2.4.
History
Date User Action Args
2017-03-09 17:10:02serhiy.storchakasetrecipients: + serhiy.storchaka
2017-03-09 17:10:02serhiy.storchakasetmessageid: <1489079402.47.0.435152463031.issue29776@psf.upfronthosting.co.za>
2017-03-09 17:10:02serhiy.storchakalinkissue29776 messages
2017-03-09 17:10:02serhiy.storchakacreate