On Thu 23 Aug 2012 09:11:46 AM PDT, Hanno Schlichting wrote:
By default there's no import statement and no way to open files, or even just any of the
exception names. You can define functions, but not classes. One could add a special
import statement or some other function like "include" to allow re-use across
files.
You can achieve the same with the ast module, but I find that more difficult to
read and understand than this approach.
That's really slick and simple.
+1
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform