Message328518
Sorry for the misunderstanding, and thanks for clarifying!
So essentially what I am getting by `from app import __init__` is the `__init__` method of the module object bound to the name `app`.
However if I have a submodule `app/myapp.py`, `from app import myapp` will import it and bind it to the name `myapp`, whereas `importlib.import_module('app').myapp` raises AttributeError, so I guess the two forms not totally equivalent...
Anyways, I'll investigate deeper before creating an issue henceforth :) |
|
Date |
User |
Action |
Args |
2018-10-26 07:47:18 | qagren | set | recipients:
+ qagren, serhiy.storchaka |
2018-10-26 07:47:18 | qagren | set | messageid: <1540540038.76.0.788709270274.issue35073@psf.upfronthosting.co.za> |
2018-10-26 07:47:18 | qagren | link | issue35073 messages |
2018-10-26 07:47:18 | qagren | create | |
|