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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, kaizhu
Date 2008-11-20.14:16:21
SpamBayes Score 0.00010374303
Marked as misclassified No
Message-id <1227190582.66.0.316734424749.issue4360@psf.upfronthosting.co.za>
In-reply-to
Content
In a running frame, f->f_localplus is a vector composed of:
- the values of the local variables
- the cells containing variables used in a nested closure.
- the values of free variables defined in a outer scope.

super() needs to access the free var containing the enclosing class
object, but forgets to account for the number of cells...

The attached patch corrects the problem.
History
Date User Action Args
2008-11-20 14:16:23amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, kaizhu
2008-11-20 14:16:22amaury.forgeotdarcsetmessageid: <1227190582.66.0.316734424749.issue4360@psf.upfronthosting.co.za>
2008-11-20 14:16:22amaury.forgeotdarclinkissue4360 messages
2008-11-20 14:16:21amaury.forgeotdarccreate