jamesf <54740...@qq.com> added the comment: Thanks for your replying.
Here is my understanding of how the compiler chosen logic works, correct me if i am wrong: 1) If using MSVC, we should ALWAYS stick the compiler to the version which python was compiled with; 2) But we can change SDK version through DISTUTILS_USE_SDK with SetEnv.cmd already called. 3) It's the compiler version that matters, not SDK version. But from distutils source: if "DISTUTILS_USE_SDK" in os.environ and "MSSdk" in os.environ and ...: ^^^^^ does this mean i can not use lastest SDK since it does not set MSSdk variable? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14708> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com