customizing verbose and dry_run per command

31 May
2002
31 May
'02
7:41 a.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
7857
Age (days ago)
7857
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jeremy Hylton