Sandro Tosi <[email protected]> writes:
> On Fri, Aug 5, 2011 at 19:16, Nikolaus Rath <[email protected]> wrote:
>> Is there a way to find out why this specific script needs so much memory
>> and time?
>
> Probably the best thing to do is for your to attach the script here,
> so others can verify and understand what's going on.
Alright, I isolated the culprit:
$ cat seemsbig.py
from IPython.Shell import IPShellEmbed
ipshell = IPShellEmbed([])
$ /usr/bin/time -v pylint seemsbig.py
************* Module seemsbig
C0111: 1: Missing docstring
C0103: 3: Invalid name "ipshell" (should match (([A-Z_][A-Z0-9_]*)|(__.*__))$)
User time (seconds): 15.87
Maximum resident set size (kbytes): 2083984
Question: is there a way to tell pylint to completely ignore this
module?
Best,
-Nikolaus
--
»Time flies like an arrow, fruit flies like a Banana.«
PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6 02CF A9AD B7F8 AE4E 425C
_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects