When doing an import, PyMite currently only allows to import from modules but
not from packages. This is because packages are build from a folder and a
__init__.py file, so it's needed a filesystem. Since modules to import are
stored on the build image as a dict with the module name as key and its code as
value, i propose to allow this dict to host other dicts so a filesystem-like
hierarchy would be replicated in order of to be able to store and import
packages, allowing creaner code on complex projects and also easying to include
to projects external modules and packages.
Original issue reported on code.google.com by piranna on 15 Apr 2012 at 11:45
Original issue reported on code.google.com by
piranna
on 15 Apr 2012 at 11:45