Author terry.reedy
Recipients terry.reedy
Date 2020-07-10.00:06:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1594339613.65.0.564698684432.issue37766@roundup.psfhosted.org>
In-reply-to
Content
The attached tem4.py validates a refactoring of the mode ATTRS, what '' computation of bigl.  The removal of dict 'namespace' invalidates 

                    if "__all__" in bigl:
                        smalll = sorted(eval("__all__", namespace))

However, this small branch should be removed as explained in msg373432.  The removal will also fix an IDLE execution process crash resulting from a user bug.  Given "__all__ = [modname], Show Completions results in
TypeError: cannot pickle 'module' object
and a crash restart.

After "import modname", "modname." wait or Show Completions crashes due to 
                        if "__all__" in bigl:
                            smalll = sorted(entity.__all__)
Since this is needed, the fix is to filter entity.__all__.
History
Date User Action Args
2020-07-10 00:06:53terry.reedysetrecipients: + terry.reedy
2020-07-10 00:06:53terry.reedysetmessageid: <1594339613.65.0.564698684432.issue37766@roundup.psfhosted.org>
2020-07-10 00:06:53terry.reedylinkissue37766 messages
2020-07-10 00:06:52terry.reedycreate