Meador Inge <mead...@gmail.com> added the comment:

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.

----------
keywords: +patch
nosy: +meador.inge
stage:  -> patch review
Added file: http://bugs.python.org/file22852/issue12608.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12608>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to