Rev 5558 contains proposed changes to Leo's startup sequence. This might 
cause problems with some plugins, but the old code that temporarily bound g 
= nullObject is wrong: it hides problems.

Please report any problems immediately.  If you do experience problems, 
setting new_load_g = False at the start of leoGlobals.py should fix things.

Here is the checkin log:

QQQQQ
More work on making leoGlobals.py usable stand-alone. All unit tests pass 
with Python 2/3.

- Added g.new_load_g = True.
  When True, leoGlobals.py sets g at end and runLeo.py does *not* set 
leoGlobals.g.

- When g.new_load_g is True, g is None while leoGlobals.py is being scanned.
  This may cause problems for plugins, but setting g = nullObject is wrong.

- Moved @g.command('open-url-under-cursor') to leoEditCommands.py.
  The @g.command decorator may not be used in leoGlobals.py.
QQQQQ

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/leo-editor/-/s1gg7M09PpwJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to