homepage

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 ncoghlan
Recipients Arfrever, Mark.Shannon, alex, barry, benjamin.peterson, carsten.klein@axn-software.de, cvrebert, daniel.urban, eric.snow, meador.inge, michael.foord, ncoghlan, python-dev
Date 2012年11月28日.07:45:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1354088731.15.0.31961064065.issue12370@psf.upfronthosting.co.za>
In-reply-to
Content
From a quick scan of the patch, I suspect the current implementation will also break this code:
 class Outer:
 class InnerParent:
 pass
 class InnerChild(InnerParent):
 pass
The evaluation of the other args to build_class needs to happen before we enter the new outer scope to fix that.
I also agree with the others that this should use hidden variable names for the build_class arguments, rather than __args__ and __kw___.
History
Date User Action Args
2012年11月28日 07:45:31ncoghlansetrecipients: + ncoghlan, barry, benjamin.peterson, Arfrever, alex, michael.foord, cvrebert, meador.inge, daniel.urban, carsten.klein@axn-software.de, Mark.Shannon, python-dev, eric.snow
2012年11月28日 07:45:31ncoghlansetmessageid: <1354088731.15.0.31961064065.issue12370@psf.upfronthosting.co.za>
2012年11月28日 07:45:31ncoghlanlinkissue12370 messages
2012年11月28日 07:45:30ncoghlancreate

AltStyle によって変換されたページ (->オリジナル) /