[Python-projects] PyLint + rpython: Error reported "Using unavailable builtin"

Maarten ter Huurne maarten.ter.huurne at philips.com
Mon Mar 5 22:15:19 CET 2007


When checking the following program with rpython enabled: 
print sum(range(10))

It reports the following error:
$ pylint -rn --enable-checker=rpython testcase4.py
No config file found, using default configuration
************* Module testcase4
E:  1: Using unavailable builtin 'sum'

I get similar errors on lots of files, complaining about keywords 'lambda' 
and 'yield' and builtins 'callable', 'classmethod', 'dict', 'enumerate', 
'file', 'filter', 'frozenset', 'getattr', 'globals', 'id', 'iter', 'long', 
'object', 'open', 'property', 'reduce', 'reload', 'repr', 'reversed', 
'set', 'setattr', 'sorted', 'staticmethod', 'sum', 'super' and 'unicode'.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.logilab.org/pipermail/python-projects/attachments/20070305/09e7824a/attachment.html 

More information about the Python-Projects mailing list