Message176520
| 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:31 | ncoghlan | set | recipients: + 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:31 | ncoghlan | set | messageid: <1354088731.15.0.31961064065.issue12370@psf.upfronthosting.co.za> |
| 2012-11-28 07:45:31 | ncoghlan | link | issue12370 messages |
| 2012-11-28 07:45:30 | ncoghlan | create | |