[issue7509] AttributeError: MSVCCompiler instance has no attribute '_MSVCCompiler__root'

Tarek Ziadé report at bugs.python.org
Tue Apr 13 08:58:36 CEST 2010


Tarek Ziadé <ziade.tarek at gmail.com> added the comment:

I don't know about 2.5 but:

Reading the MSVCCompiler class code in trunk, I can see a case where __init__ doesn't create self.__root. (if self.__arch != Intel)
making any call to get_msvc_paths() leading to an error.

You certainly have some kind of unexpected environment when MSVCCompiler is called.

I need to fix this.

If you could help me out by tracing how the compiler is instanciated, taht could help me.

----------
priority:  -> normal
resolution:  -> accepted
status: closed -> open
versions: +Python 2.7, Python 3.2, Python 3.3

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


More information about the Python-bugs-list mailing list