Issue1938
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.:
https://code.djangoproject.com/ticket/5317
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/lint.py", line 31, in <module>
from pylint.checkers import utils
File "/home/***/jython2.7a2/Lib/site-packages/pylint/checkers/utils.py", 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 http://docs.python.org/library/__builtin__.html 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 https://www.logilab.org/ticket/99139.
|
|
Date |
User |
Action |
Args |
2012-07-02 07:25:03 | malte.vesper | set | messages:
+ msg7309 |
2012-06-29 15:54:43 | fwierzbicki | set | status: open -> closed assignee: fwierzbicki resolution: wont fix |
2012-06-29 14:52:52 | fwierzbicki | set | nosy:
+ fwierzbicki messages:
+ msg7280 |
2012-06-29 12:57:00 | malte.vesper | create | |
|