Message249432
msg249272
Thank you Martin Panter for the documentation URL's. The import machinery is so complicated that I have given up trying to understand what is "correct" behavior. Depending on the code in the relevant __init__.py and/or explicitly referenced Python modules each Python library can have vastly different import behavior. I believe the simplest way to figure out what an import does and hence, what import statements I need is to run a Python interpreter in a terminal, execute an import statement, and then use the dir() function several times to see what the import statement did.
The import documentation is only slightly useful due to its great length and complexity. |
|
Date |
User |
Action |
Args |
2015-08-31 21:58:20 | SegundoBob | set | recipients:
+ SegundoBob, r.david.murray, martin.panter |
2015-08-31 21:58:20 | SegundoBob | set | messageid: <1441058300.22.0.7644461112.issue24949@psf.upfronthosting.co.za> |
2015-08-31 21:58:20 | SegundoBob | link | issue24949 messages |
2015-08-31 21:58:20 | SegundoBob | create | |
|