Author terry.reedy
Recipients cheryl.sabella, miss-islington, rhettinger, taleinat, terry.reedy, xtreak
Date 2020-07-09.23:47:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1594338465.35.0.302740753304.issue37765@roundup.psfhosted.org>
In-reply-to
Content
PR 15138 always adds keywords to the big list for the current module.  They are also normally present in the small list, when it only excludes '_' names.  But if the module being edited contains '__all__', the small list, which is the first list presented, is currently just __all__.  This excludes builtins and now keywords and possibly non-_ names defined in the module.  I think this restriction is a mistake; __all__ defines a limited external view of the module.  It is not intended to restrict the names used in the module.  I will remove the restriction (and a crash bug it contains) in a partly completed PR for #37766.
History
Date User Action Args
2020-07-09 23:47:45terry.reedysetrecipients: + terry.reedy, rhettinger, taleinat, cheryl.sabella, miss-islington, xtreak
2020-07-09 23:47:45terry.reedysetmessageid: <1594338465.35.0.302740753304.issue37765@roundup.psfhosted.org>
2020-07-09 23:47:45terry.reedylinkissue37765 messages
2020-07-09 23:47:45terry.reedycreate