A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-April/003269.html below:

[Python-Dev] Re: [Python-checkins] CVS: distutils/distutils cmd.py

[Python-Dev] Re: [Python-checkins] CVS: distutils/distutils cmd.py [Python-Dev] Re: [Python-checkins] CVS: distutils/distutils cmd.pyGreg Stein gstein@lyra.org
Mon, 10 Apr 2000 01:18:20 -0700 (PDT)
[ damn... can't see the code... went and checked it out... ]

On Sun, 9 Apr 2000, Greg Ward wrote:
> Update of /projects/cvsroot/distutils/distutils
> In directory kaluha:/tmp/cvs-serv16575
> 
> Modified Files:
> 	cmd.py 
> Log Message:
> Added a check for the 'force' attribute in '__getattr__()' -- better than
>   crashing when self.force not defined.

This seems a bit silly. Why don't you simply define .force in the __init__
method?

Better yet: make the other guys crash -- the logic is bad if they are
using something that isn't supposed to be defined on that particular
Command object.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4