Refactored the function parse_module and the class Module to rely on the module imp...
authorErnesto Ferro <ernestoferro@gmail.com>
Sat, 20 Apr 2013 17:08:42 +0000 (12:08 -0500)
committerMark Dufour <mark.dufour@gmail.com>
Sat, 20 Apr 2013 19:42:21 +0000 (21:42 +0200)
commit28531a362e9d6fd6d6f3dd40a79f7bd26a53ed4f
treec36935f5d320e3d6fd7c5469934b00302cd54d02
parent81bdbc1aa91bd1e3c5055593531e41763992a769
Refactored the function parse_module and the class Module to rely on the module imp to find the filename of the module. Based on that filename and the import path, the absolute module name and if the module is a built-in module is calculated.
14 files changed:
examples/testdata/patched.file
examples/testdata/unpatched.file
shedskin/__init__.py
shedskin/annotate.py
shedskin/copy_.py
shedskin/cpp.py
shedskin/extmod.py
shedskin/graph.py
shedskin/infer.py
shedskin/makefile.py
shedskin/shared.py
shedskin/typestr.py
shedskin/virtual.py
tests/testdata/__init__.py