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 terry.reedy
Recipients terry.reedy
Date 2014-10-23.00:17:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1414023424.37.0.56141003135.issue22704@psf.upfronthosting.co.za>
In-reply-to
Content
Currently, each extension is supposed to have an 'enable' option and optionally enable_editor or enable_shell, to "to apply it only to editor/shell windows" (config-extensions.def comment).  I think the rule should be changed (see below).

Currently, the file itself does not follow its own rule.  Most editor-only options only have enable and not enable_editor.  One have enable and enable_shell=False, presumably to exclude the shell, but a user could override False with True, in the user config-extensions, which would not be valid.  The file should be changed to follow the current or altered rule.

I think that the requirement should be for the presence of any one of the enable options.  An extension that is only valid for the editor should simply have enable_editor.  Ditto for enable_shell. Enable by itself would globally turn the extension on or all for all windows, include output windows.  It is possible that we might need an enable_output option too.
History
Date User Action Args
2014-10-23 00:17:04terry.reedysetrecipients: + terry.reedy
2014-10-23 00:17:04terry.reedysetmessageid: <1414023424.37.0.56141003135.issue22704@psf.upfronthosting.co.za>
2014-10-23 00:17:04terry.reedylinkissue22704 messages
2014-10-23 00:17:03terry.reedycreate