customizing verbose and dry_run per command

May 31, 2002
12:41 p.m.
The Command class supports per-command customization of the verbose and dry_run options using a rather hairy __getattr__() trick. I was wondering if this feature is actually used by anyone. I can't find any examples of its use in the distutils package itself. I ask because I was looking at the previously discussed overhaul of how distutils produces output. I was hoping to remove the self.verbose attribute from the several classes that have it. The simplest way to remove it would disable this feature. Would that be a problem? Jeremy
8325
Age (days ago)
8325
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jeremy Hylton