This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author loewis
Recipients agale031176, brian.curtin, eric.araujo, loewis, tarek, tim.golden
Date 2012-08-28.13:53:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1346162014.61.0.754427848708.issue15762@psf.upfronthosting.co.za>
In-reply-to
Content
The change you proposed cannot be applied to Python 2.7, or any distutils code bases, for a number of reasons:

- it's not clear (and probably not the case) that the proposed command line flags are correct for all distutils code. It may well be that some code breaks if you use the flags - if they were 100% backwards compatible, Microsoft wouldn't have made them separate options.

- distutils is essentially frozen, any change to it requires considerable negotiation.

- for Python 2.7 to 3.3, making such a change would be a new feature (to pass the Windows 8 certification), which cannot be added to a bug fix release.

So if you insist that this is a distutils bug, I'll re-close the issue as "won't fix".

Instead, I suggest to find a way to solve this within py2exe's setup.py, e.g. by monkey-patching distutils.msvccompiler.MSVCCompiler with a subclass of msvc9compiler.MSVCCompiler.
History
Date User Action Args
2012-08-28 13:53:34loewissetrecipients: + loewis, tim.golden, tarek, eric.araujo, brian.curtin, agale031176
2012-08-28 13:53:34loewissetmessageid: <1346162014.61.0.754427848708.issue15762@psf.upfronthosting.co.za>
2012-08-28 13:53:34loewislinkissue15762 messages
2012-08-28 13:53:33loewiscreate