Message4214
Logged In: YES
user_id=31392
I'm not clear on what the rules for co_filename are, but it
looks like the absolute path is only used for package
imports. If you cd into the package directory, run python
-c "import __init__", and then later import the package the
path name is relative.
The compiler package isn't connected to the import
mechanism, so there's no way for it to know whether it is
compiling a module or a package. I don't think there's a
way to do anything better.
|
|
Date |
User |
Action |
Args |
2007-08-23 13:53:50 | admin | link | issue415492 messages |
2007-08-23 13:53:50 | admin | create | |
|