Message316915
The behaviour I'd expect to see:
"module:qual.name" -> "imports module, accesses module.qual.name"
"module.qual.name" -> "no implicit import, accesses module.qual.name"
"package.submodule:qual.name" -> "imports package.submodule, accesses package.submodule.qual.name"
"package.submodule.qual.name" -> "no implicit import, accesses package.submodule.qual.name"
So if you have ":" in the capsule path, you're requesting that the interpreter execute an import with the path up to that point before attempting to resolve the full name reference.
By contrast, if you omit the ":", you're telling the interpreter that you'll take care of ensuring that any required imports have taken place before attempting to resolve the capsule reference. |
|
Date |
User |
Action |
Args |
2018-05-17 11:48:03 | ncoghlan | set | recipients:
+ ncoghlan, petr.viktorin, lekma, skrah, eric.snow, serhiy.storchaka |
2018-05-17 11:48:03 | ncoghlan | set | messageid: <1526557683.21.0.682650639539.issue32414@psf.upfronthosting.co.za> |
2018-05-17 11:48:03 | ncoghlan | link | issue32414 messages |
2018-05-17 11:48:03 | ncoghlan | create | |
|