keyongtech


  keyongtech > python > 07/2007

 #1  
07-09-07, 03:13 PM
lgfang
Hi,

I think this is a bug of pylint.el. But I failed finding a way to
submit the bug neither in its official site nor in google. So I post
it here wishing it may be useful for some buddies.

The bug is that it uses "compile-internal" from "compile" without
require compile. So "M-x pylint" will fail if compile hadn't been
loaded in advance by any means.

My fix is rather straightforward: add "(require 'compile)" in the code.

------ begin diff output ------
2a3
> (require 'compile)

------ end diff output ------

Fang lungang
 #2  
07-13-07, 10:34 AM
syt
On Jul 9, 4:13 pm, lgfang <lgf...@localhost.my.domain> wrote:
> Hi,
>
> I think this is a bug ofpylint.el. But I failed finding a way to
> submit the bug neither in its official site nor in google. So I post
> it here wishing it may be useful for some buddies.
>
> The bug is that it uses "compile-internal" from "compile" without
> require compile. So "M-xpylint" will fail if compile hadn't been
> loaded in advance by any means.
>
> My fix is rather straightforward: add "(require 'compile)" in the code.
>
> ------ begin diff output ------
> 2a3> (require 'compile)
>
> ------ end diff output ------


fyi, pylint related bug should be reported on the python-
projects mailing list.
I've opened a ticket for your bug/patch: http://www.logilab.org/bug/eid/4026

cheers,
Sylvain
 #3  
07-13-07, 06:19 PM
lgfang
>>>>> "syt" == syt <thenault> writes:
syt> fyi, pylint related bug should be reported on the python-
syt> projects mailing list. I've opened a ticket for
syt> your bug/patch: http://www.logilab.org/bug/eid/4026

Thank you, Sylvain

Fanglungang (fang.lungang at gmail)
Similar Threads
working pylint anyone?

Hi, until yesterday I was a happy user of pylint. Then I upgraded to ubuntu hardy heron - and the trouble began. The packaged version of pylint (0.13.2) fails with this...

Time Between Exchange Server Patching, and Workstation Patching?

We ran the timezone update patch (931836) on our Exchange Servers about a month ago, and then just patched our workstations on 3/4/07. Does this mean i will see a lot of...

PyLint results?

Hello: I ran the new pylint and my code and I had a few questions on why those are warnings or what I can do to fix them: 1) W: 0: Too many lines in module (1587) Why is...

[ANN] PyLint 0.11 / astng 0.16

Hi there! I'm please to announce new releases of pylint (0.11) and its underlying library astng (0.16). Those releases should fix a number of crashes and false positive and...

[ANN] pylint-0.2

Logilab has released pylint-0.2 What's new? ----------- In addition to a large number of bug fixes, this release adds two new checkers, for missing encoding declaration,...


All times are GMT. The time now is 11:28 AM. | Privacy Policy