#1510 Rename not changing property setter and deleter decorators

open
nobody
5
2012-05-23
2012-05-23
sirjis
No

For a property with a setter or deleter defined using the decorator syntax (@x.setter), renaming the property using Refactoring->Rename does not change the decorator.

For example, starting from:

@property
def x(self):
return 0

@x.setter
def x(self, value):
pass

@x.deleter
def x(self):
pass

Renaming x to new_x:

@property
def new_x(self):
return 0

@x.setter
def new_x(self, value):
pass

@x.deleter
def new_x(self):
pass

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks