property decorator -> redefinition of function
Bug #812958 reported by
Cassapanco di Mogano
This bug affects 17 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Pyflakes |
Fix Released
|
Low
|
Unassigned |
Bug Description
Code from: http://
-------
class C(object):
def __init__(self):
self._x = None
@property
def x(self):
"""I'm the 'x' property."""
return self._x
@x.setter
def x(self, value):
self._x = value
@x.deleter
def x(self):
del self._x
-------
pyflakes output is
$ pyflakes foo.py
foo.py:11: redefinition of function 'x' from line 6
foo.py:15: redefinition of function 'x' from line 11
description: | updated |
Changed in pyflakes: | |
importance: | Undecided → Low |
milestone: | none → 0.6.1 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I can confirm this problem.