Georg Brandl <[EMAIL PROTECTED]> added the comment:

You don't check for NULL return from PyObject_GetIter(). It will
segfault for "__all__ = 1".

That demonstrates that test cases are missing from the patch. :)

Raymond: It shouldn't since __all__ is only inspected after the module
code has been executed.

----------
nosy: +georg.brandl

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2928>
__________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to