472,796 Members | 2,324 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,796 software developers and data experts.

patching pylint.el

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
Jul 9 '07 #1
2 1246
syt
On Jul 9, 4:13 pm, lgfang <lgf...@localhost.my.domainwrote:
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-
pr******@logilab.org mailing list.
I've opened a ticket for your bug/patch: http://www.logilab.org/bug/eid/4026

cheers,
Sylvain

Jul 13 '07 #2
>>>>"syt" == syt <th******@gmail.comwrites:
sytfyi, pylint related bug should be reported on the python-
sytpr******@logilab.org mailing list. I've opened a ticket for
sytyour bug/patch: http://www.logilab.org/bug/eid/4026

Thank you, Sylvain

Fanglungang (fang.lungang at gmail)

Jul 13 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Fried Egg | last post by:
* Codetag PEP: ** I would like to comment on the codetags PEP, which I give a 0+. I think the end "<>" is bad; I would be in favor of a block system or something that looks more like regular...
4
by: Michael Yanowitz | last post by:
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 1587 considered too...
5
by: Tuomas | last post by:
#!/usr/bin/python """test pydev_0.9.3/../pylint""" __revision__ = "test_mod 0.1 by TV 06/10/22" lst = lst = map(lambda x: x.strip(), lst) result = """ No config file found, using default...
7
by: montyphyton | last post by:
Some recent posts about Python programming style got me thinking. Since we have the PEP 8 which gives some guidelines about the style to be used, do we have any program that can check for...
2
by: Mick Charles Beaver | last post by:
Hello, I've been looking into using PyLint on some of my programs, just as a best practices kind of thing. Here's a snippet:...
0
by: KLEIN Stephane | last post by:
Hi, I wonder if pychecker projet is dead ? On pychecker home page (http://pychecker.sourceforge.net/), last version date from February 3, 2006 and their mailist contain spam messages only. ...
2
by: dmitrey | last post by:
Hi all, I have Eric 4.1.1, pylint and Eric pylint plugin installed, but I cannot find how to use pylint from Eric IDE GUI. Does anyone know? Thank you in advance, D.
1
by: Stefan Rank | last post by:
on 31.07.2008 11:29 Diez B. Roggisch said the following: <snip> <snip> Three installations of pylint 0.14.0 that I have access to from here: pylint.bat 0.14.0, astng 0.17.2, common 0.27.0...
2
by: GHUM | last post by:
Hello, I am pylinting some software of mine. Now pylint throws messages, and I know of pylint --help-msg to get some more text. What is missing out are explanation, WHY some things are bad,...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.