[Python-projects] NameError: global name 'set' is not defined

Maarten ter Huurne maarten.ter.huurne at philips.com
Tue Jan 2 18:09:49 CET 2007


python-projects-bounces at lists.logilab.org wrote on 2007-01-02 06:04:25 PM:

> Not sure why I get the below stack trace.  I am using Pylint 0.12.2,
> common 0.21.1, astng 0.16.3, and Python 2.3.5 on MS Windows XP.  Any
> help is much appreciated.
>
> [...]
>
>   File "C:\bn\Python23\Lib\site-packages\pylint\checkers\typecheck.
> py", line 92, in visit_getattr
>     missingattr = set()
> NameError: global name 'set' is not defined

The "set" class was introduced in Python 2.4.

Bye,
                Maarten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.logilab.org/pipermail/python-projects/attachments/20070102/14277d97/attachment.htm 


More information about the Python-Projects mailing list