@property decorator is ignored in generators

In Python 3.6 is possible to decorate a generator (a class method containing a yield) with @property.

Skulpt seems to ignore the decorator and considers the method a normal function.

The @property decorator should either be correctly managed or a syntax error should be shown.

Right now the code that runs on the server doesn’t work on the client.

2 Likes