« Previous | Next » 

Revision c3a44400

Parent 54683776
Child 2235f216

Added by Bob Lantz over 11 years ago

Changed custom feature so that params aren't added to globals.

There is probably a better way of doing this, but currently
parseCustomFile can modify globals (e.g. TOPOS) as well as
instance variables (self.validate) and classes (e.g. MyTopo),
which are also in the global name space.

Inconveniently enough, lambdas don't seem to be full closures
in Python; if they were, this trickiness would be unnecessary.

Even so, using execfile() seems like it might be a bit dubious...


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences