[Distutils] Proposed patch: allowing unknown keywords
Juergen Hermann
Juergen Hermann" <jh@web.de
Mon Nov 4 13:06:00 2002
On Thu, 31 Oct 2002 14:38:45 -0500, A.M. Kuchling wrote:
>On Thu, Oct 31, 2002 at 10:24:41AM +0200, Juergen Hermann wrote:
>> from distutils.dist import Distribution
>> assert hasattr(Distribution, "getSupportedOptions")
>> assert "foo" in Distribution.getSupportedOptions()
>
>Now that I look at, why would this be a method on Distribution?
Because that is the class the setup attributes are finally handed into. =
Of course, a function in core.py is ok, too.
Whether the list should initially be empty or contain the currently
handled attributes is a point too (but I have no real preference).
Ciao, J=FCrgen
--
J=FCrgen Hermann, Developer
WEB.DE AG, http://webde-ag.de/