rickrankin / pynocle

Automatically exported from code.google.com/p/pynocle
0 stars 0 forks source link

Replace importing with pseudo importing #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Right now pynocle imports using __import__.  This means code is actually 
evaluated, which is a problem for some codebases and a problem in general (to 
do most analysis, it shouldn't need to execute the code).  Switch things to use 
the 'imp' module and duplicate the import logic.

Make sure this has good tests written since it's replacing some core 
functionality.

Original issue reported on code.google.com by rob.gala...@gmail.com on 1 Oct 2011 at 4:05

GoogleCodeExporter commented 9 years ago
Working on this.  Once I can test it out at work, I'll update.

Original comment by rob.gala...@gmail.com on 1 Oct 2011 at 4:06

GoogleCodeExporter commented 9 years ago
This is working.  However the import machinery still needs tests and work.

Original comment by rob.gala...@gmail.com on 2 Oct 2011 at 5:34