This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author glombardo
Recipients glombardo
Date 2020-01-02.12:52:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1577969532.28.0.946126290653.issue39152@roundup.psfhosted.org>
In-reply-to
Content
I've modified the `Scale.configure` implementation as follows:

```
   def configure(self, cnf=None, **kw):
        """Modify or query scale options.

        Setting a value for any of the "from", "from_" or "to" options
        generates a <<RangeChanged>> event."""
        if cnf:
            kw.update(cnf)
        retval = Widget.configure(self, **kw)
        if any(['from' in kw, 'from_' in kw, 'to' in kw]):
            self.event_generate('<<RangeChanged>>')
        return retval
```

It works as expected for my project, but I don't have regression tests or exahustive code checking in place to verify it behaves correctly for all use cases. How can we manage to perform those tests?
History
Date User Action Args
2020-01-02 12:52:12glombardosetrecipients: + glombardo
2020-01-02 12:52:12glombardosetmessageid: <1577969532.28.0.946126290653.issue39152@roundup.psfhosted.org>
2020-01-02 12:52:12glombardolinkissue39152 messages
2020-01-02 12:52:12glombardocreate