customizing verbose and dry_run per command
31 May 2002 31 May '02
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?
Age (days ago)
Last active (days ago)