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 meador.inge
Recipients Albert.Zeyer, benjamin.peterson, daniel.urban, ezio.melotti, meador.inge, r.david.murray
Date 2011-08-07.01:20:22
SpamBayes Score 1.145932e-06
Marked as misclassified No
Message-id <1312680023.8.0.670313839334.issue12608@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for the test case Albert.  The attached patch adds a unit test based off of the given repro case and fixes the bug in the FunctionDef compiler.  The compiler was hitting a NULL pointer deref on FunctionDefs with empty list bodies.

Reproduced and fixed on tip.  Full test suite ran on Fedora 15; no regressions.
History
Date User Action Args
2011-08-07 01:20:23meador.ingesetrecipients: + meador.inge, benjamin.peterson, ezio.melotti, r.david.murray, daniel.urban, Albert.Zeyer
2011-08-07 01:20:23meador.ingesetmessageid: <1312680023.8.0.670313839334.issue12608@psf.upfronthosting.co.za>
2011-08-07 01:20:23meador.ingelinkissue12608 messages
2011-08-07 01:20:23meador.ingecreate