[issue14967] distutils2.utils.resolve_name cannot be implemented to give correct errors in all situations

Ronny Pfannschmidt report at bugs.python.org
Thu May 31 13:34:37 CEST 2012


New submission from Ronny Pfannschmidt <ronny.pfannschmidt at gmail.com>:

due to the lack of a marker that denotes where the module ends and the attribute starts, unrelated import errors can break the try&error chain at unexpected places and the code can pass on to the recursive getattr chain, giving a completely different error instead of the real error

this is not solvable without a marker or really nasty hacks o track subsequent imports

----------
assignee: eric.araujo
components: Distutils2
messages: 161990
nosy: Ronny.Pfannschmidt, alexis, eric.araujo, tarek
priority: normal
severity: normal
status: open
title: distutils2.utils.resolve_name cannot be implemented to give correct errors in all situations

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14967>
_______________________________________


More information about the Python-bugs-list mailing list