Message142533
Hello, I did the patch, but I have no idea of how to make a test for it.
More over, I have seen a similar problem each time there is this code in the Python code (here in distutils.util.Distribution.get_command_class) :
try:
__import__ (module_name)
module = sys.modules[module_name]
except ImportError:
continue
try:
klass = getattr(module, klass_name)
except AttributeError:
raise DistutilsModuleError(
"invalid command '%s' (no class '%s' in module '%s')"
% (command, klass_name, module_name))
Maybe it could be better to have a function in cpython to do that ? |
|
Date |
User |
Action |
Args |
2011-08-20 14:03:39 | Natim | set | recipients:
+ Natim, tarek, eric.araujo, alexis |
2011-08-20 14:03:39 | Natim | set | messageid: <1313849019.61.0.163718243645.issue12703@psf.upfronthosting.co.za> |
2011-08-20 14:03:39 | Natim | link | issue12703 messages |
2011-08-20 14:03:38 | Natim | create | |
|