VanL / shedskin

Shed Skin is an experimental compiler, that can translate pure, but implicitly statically typed Python (2.4-2.6) programs into optimized C++
0 stars 1 forks source link

No support for @property #64

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
No support for @property

What steps will reproduce the problem?
    @property
    def Width(self): 
        return self.x2 - self.x1
    @Width.setter
    def Width(self, width):
        self.x2 = self.x1 + width

*ERROR* Rectangle.py:208: function/class redefinition is not allowed 
('Width')

What version of the product are you using?
Ubuntu Shedskin 4.0.deb

Original issue reported on code.google.com by mcdonald...@gmail.com on 21 Apr 2010 at 3:33

GoogleCodeExporter commented 9 years ago

Original comment by mark.duf...@gmail.com on 21 Apr 2010 at 9:52