Message373434
| 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:53 | terry.reedy | set | recipients:
+ terry.reedy |
| 2020年07月10日 00:06:53 | terry.reedy | set | messageid: <1594339613.65.0.564698684432.issue37766@roundup.psfhosted.org> |
| 2020年07月10日 00:06:53 | terry.reedy | link | issue37766 messages |
| 2020年07月10日 00:06:52 | terry.reedy | create |
|