Re: Trellis on_commit and Performers

"Sergey Schetinin" <[email protected]>
Newsgroups gmane.comp.python.peak
Message-ID <[email protected]>
> It does that to handle this case:
>
>    @value.connector
>    def value(self, sensor):
>        ...
>
> But it is clearly being over-aggressive.  I've fixed this to do more
> checking (ala the callback version), and added full test coverage for all
> possible calling scenarios.
>
> The fix is checked in now, but you can also work around it by using
> @value.connector() and @value.disconnector() instead (note the () on the
> ends) or by naming the methods the same as the @maintain rule.

Thanks.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.