On Wed, 16 May 2012 12:46:14 -0700 (PDT) "Edward K. Ream" <[email protected]> wrote:
> At present, the leo/external/codewise.py and leo/core/leoInspect.py > files duplicates code from leoGlobals.py so that these files can be > executed in contexts where leo.core.leoGlobals can not be imported > conveniently. > > However, this duplication of code is extremely ugly and fragile: fixes > to leoGlobals.py will not propagate to codewise.py or leoInspect.py. > > I'm wondering whether codewise.py or leoInspect.py might somehow be > more flexible in importing the leo.core.leoGlobals modules. Does > anyone have ideas about how to solve this problem? My first thought would be to address the issues preventing leo.core.leoGlobals from being imported, but I don't know what those issues are. Cheers -Terry -- You received this message because you are subscribed to the Google Groups "leo-editor" group. 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.
