Message206608
I have written a new modulefinder based on importlib. It is not a refactoring of the old one, so it is no plug-in replacement. Instead it has some new features:
- Better logging output
- collects dependencies (self._depgraph maps module names to callers)
- when run as script, the command line syntax are easier to understand (although parsing is still done by getopt; argparse would be event better)
- The Module proxies that modulefinder collects give better access to the module's attributes, including the byte code
It is not yet tested in the wild but I will use it for the Python3 py2exe implementation.
If anyone wants to take a look the current version is here:
http://code.google.com/p/ctypes-stuff/source/browse/trunk/mf/py2exe/mf3.py |
|
Date |
User |
Action |
Args |
2013-12-19 12:20:26 | theller | set | recipients:
+ theller, eric.snow |
2013-12-19 12:20:25 | theller | set | messageid: <1387455625.61.0.00103939843701.issue20020@psf.upfronthosting.co.za> |
2013-12-19 12:20:25 | theller | link | issue20020 messages |
2013-12-19 12:20:24 | theller | create | |
|