Message355669
As a better design for a long-term fix, I suggest:
* Avoiding isinstance() checks by instead using a dedicated class attribute and checking that. (I've recently used this pattern for line numbers.)
* Instead of baling out inside the "check module" and "run" handlers, don't include the related items in the menus in the first place. (Make them conditional on the above-mentioned class attribute's value.) |
|
Date |
User |
Action |
Args |
2019-10-29 18:59:18 | taleinat | set | recipients:
+ taleinat, terry.reedy, miss-islington |
2019-10-29 18:59:18 | taleinat | set | messageid: <1572375558.44.0.418291049957.issue38598@roundup.psfhosted.org> |
2019-10-29 18:59:18 | taleinat | link | issue38598 messages |
2019-10-29 18:59:18 | taleinat | create | |
|