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 jkloth
Recipients jkloth
Date 2012-07-30.01:49:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1343612990.44.0.366704900621.issue15495@psf.upfronthosting.co.za>
In-reply-to
Content
It would seem that enabling GCC's type conversion/truncation warnings would be a good thing for Python builds.

This would bring GCC builds in line with MSVC builds and reduce the burden on the Windows developers in fixing them.  Also, it would bring attention to those issues by the developer who writes code and would hopefully understand the truncation issues at hand.

The CFLAGS required for this are '-Wconversion -Wno-sign-conversion'.

I unfortunately do not know the autoconf foo needed to implement this suggestion, however.  Perhaps it should only be enabled for debug builds as well to eliminate excess noise for other builds.  Or at least enabled on some of the buildbots.
History
Date User Action Args
2012-07-30 01:49:50jklothsetrecipients: + jkloth
2012-07-30 01:49:50jklothsetmessageid: <1343612990.44.0.366704900621.issue15495@psf.upfronthosting.co.za>
2012-07-30 01:49:49jklothlinkissue15495 messages
2012-07-30 01:49:49jklothcreate