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 tseaver
Recipients tarek, tseaver
Date 2010-01-13.16:48:36
SpamBayes Score 1.3219228e-06
Marked as misclassified No
Message-id <1263401319.23.0.932890994142.issue7694@psf.upfronthosting.co.za>
In-reply-to
Content
2.7 has a new DeprecationWarning inside the build_ext command for code
which sets the 'compiler' to anything other than a string or None.
Because the warning occurs within property getter / setters, it needs
to boost the stacklevel for the warning above the default value of 1.
In addition, the setter is called from within '__setattr__', which means
that it needs to be incremented again in that case.

The attached patch does both of these things.
History
Date User Action Args
2010-01-13 16:48:39tseaversetrecipients: + tseaver, tarek
2010-01-13 16:48:39tseaversetmessageid: <1263401319.23.0.932890994142.issue7694@psf.upfronthosting.co.za>
2010-01-13 16:48:37tseaverlinkissue7694 messages
2010-01-13 16:48:37tseavercreate