[Python-projects] astng crashes on yield expression

Huurne, Maarten ter maarten.ter.huurne at philips.com
Thu Mar 26 19:49:22 CET 2009


Hi,

Another false positive:
===
def f():
                x = 12
                yield x
===
E0601:  3:f: Using variable 'x' before assignment

This false positive disappears when I revert the changes I made in "nodes.py", but then the crashes return on other parts of the code. So I'll continue looking for a better workaround. Any suggestions how to approach this would be most welcome.

Bye,
                                Maarten


________________________________
The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.logilab.org/pipermail/python-projects/attachments/20090326/0c8dbfad/attachment.htm>


More information about the Python-Projects mailing list