New submission from Rusi <rustompm...@gmail.com>:

When running trace, I get a a lot of lines like:
filename: /usr/lib/python2.7/cmd.py, modulename: cmd, funcname: Cmd

That is to say system modules are shown in the trace whereas I only want to see 
the code I am working on

Ive tried
python2.7 -m trace --listfuncs tt.py --ignore-dir '/usr/lib' > const-dir.trace

python2.7 -m trace --listfuncs --ignore-module cmd tt.py  > const.trace

python2.7 -m trace --ignore-module --listfuncs  cmd tt.py  > const.trace

----------
messages: 123836
nosy: RusiMody
priority: normal
severity: normal
status: open
title: trace does nto ignore --ignore-module
type: behavior
versions: Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10685>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to