On Monday, July 17, 2017 at 4:03:27 PM UTC-5, Edward K. Ream wrote: > [imp.reload(g) crashes Leo...Imo this is *not* a real bug in c.executeScriptHelper, or leoGlobals.py or anywhere else. It just means that one dasn't reload the leoGlobals module
Two more observations: 1. imp.reload *can* be made to work, as the unit tests for importers show, but you must have deep knowledge of the code to do so. Instead, accessing code by cloning code the dev node should be completely safe, unless you clone a whole module ;-) 2. Leo's startup code is heavily over-constrained because Leo is a programming environment. All changes to existing code, including *especially* the startup code, must have *zero* impact on existing scripts, apps and plugins. Edward > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
