This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: patch to make 'trace.py --ignore-module' accept module name list.
Type: enhancement Stage:
Components: Library (Lib) Versions: Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: draghuram, facundobatista, jarpa
Priority: normal Keywords: easy, patch

Created on 2007-04-02 18:46 by draghuram, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
trace.diff draghuram, 2008-01-17 20:26
Messages (4)
msg52375 - (view) Author: Raghuram Devarakonda (draghuram) (Python triager) Date: 2007-04-02 18:46
Currently, trace.py's command line option "--ignore-module" only accepts one module name. If multiple module names need to be passed, this option can be used multiple times. However, this patch makes this process simple by causing trace.py to accept comma separated module names. Please note that it is still possible to use this option multiple times but each time, a comma separated list can be passed.

Usage example:

$ python -m trace -t --ignore-module tempfile,posixpath --ignore-module random tfile.py

On a separate note, the patch also has slight change to "--ignore-dir"'s description to bring it up to date with what "--help" shows.
msg60055 - (view) Author: Raghuram Devarakonda (draghuram) (Python triager) Date: 2008-01-17 20:26
The patch trace.diff contains the code and doc change.
msg60182 - (view) Author: Jaroslav Pachola (jarpa) Date: 2008-01-19 15:15
The patch works fine for me.
msg60210 - (view) Author: Facundo Batista (facundobatista) * (Python committer) Date: 2008-01-19 18:46
Applied in r60087, with some change added in the help of the trace.py.

Thank you!
History
Date User Action Args
2022-04-11 14:56:23adminsetgithub: 44797
2008-01-19 18:46:35facundobatistasetstatus: open -> closed
resolution: fixed
messages: + msg60210
nosy: + facundobatista
2008-01-19 15:15:52jarpasetnosy: + jarpa
messages: + msg60182
severity: normal
2008-01-17 20:26:23draghuramsetfiles: + trace.diff
severity: normal -> (no value)
title: trace.py --ignore-module should accept module name list. -> patch to make 'trace.py --ignore-module' accept module name list.
messages: + msg60055
keywords: + easy
type: enhancement
2008-01-17 20:23:25draghuramsetfiles: - trace_patch.diff
2007-04-02 18:46:33draghuramcreate