Message28855
Logged In: YES
user_id=34209
See the discussion started at:
http://mail.python.org/pipermail/python-dev/2006-June/066161.html
It's not a bug in 328 or 338 (the PEP that adds the -m
switch for packages), but in the interaction between the
two. I don't think this will be fixed for 2.5, since there
is no obvious fix. If it hurts when you press there, don't
press there. Either don't use -m for packaged modules, or
have the packaged module only use absolute imports. (But
don't be surprised if the script-module is imported twice,
once as __main__ and once as the module itself. That's a
whole other bug/feature.)
|
|
Date |
User |
Action |
Args |
2007-08-23 14:40:44 | admin | link | issue1510172 messages |
2007-08-23 14:40:44 | admin | create | |
|