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 taleinat
Recipients miss-islington, taleinat, terry.reedy
Date 2019-10-29.18:59:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1572375558.44.0.418291049957.issue38598@roundup.psfhosted.org>
In-reply-to
Content
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.)
History
Date User Action Args
2019-10-29 18:59:18taleinatsetrecipients: + taleinat, terry.reedy, miss-islington
2019-10-29 18:59:18taleinatsetmessageid: <1572375558.44.0.418291049957.issue38598@roundup.psfhosted.org>
2019-10-29 18:59:18taleinatlinkissue38598 messages
2019-10-29 18:59:18taleinatcreate