Title: pylint not working
Type: Severity: normal
Components: Core Versions: 2.7a2
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: fwierzbicki Nosy List: fwierzbicki, malte.vesper
Priority: Keywords:

Created on 2012-06-29.12:57:00 by malte.vesper, last changed 2012-07-02.07:25:03 by malte.vesper.

msg7277 (view) Author: malte vesper (malte.vesper) Date: 2012-06-29.12:57:00
One issue is that you do not have __builtins__
this also causes issues with other projects, e.g.:

here is the current crashlog (after adjusting posixpath to accept None):

>>> import pylint.lint                            
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/***/jython2.7a2/Lib/site-packages/pylint/", line 31, in <module>
    from pylint.checkers import utils
  File "/home/***/jython2.7a2/Lib/site-packages/pylint/checkers/", line 97, in <module>
    builtins =  __builtins__.copy()
NameError: name '__builtins__' is not defined
msg7280 (view) Author: Frank Wierzbicki (fwierzbicki) Date: 2012-06-29.14:52:52
__builtins__ is a CPython implementation detail - if you use __builtin__ instead it is cross-implementation, so this can be considered a compatibility bug in pylint with an easy fix. See the note at the bottom of for proof/details.
msg7309 (view) Author: malte vesper (malte.vesper) Date: 2012-07-02.07:25:02
Thanks for your response I put this on the pylint tracker here
Date User Action Args
2012-07-02 07:25:03malte.vespersetmessages: + msg7309
2012-06-29 15:54:43fwierzbickisetstatus: open -> closed
assignee: fwierzbicki
resolution: wont fix
2012-06-29 14:52:52fwierzbickisetnosy: + fwierzbicki
messages: + msg7280
2012-06-29 12:57:00malte.vespercreate