[Distutils] bug in read_setup_file ?

Andrew Kuchling akuchlin@mems-exchange.org
Fri Mar 22 21:00:01 2002


On Fri, Mar 22, 2002 at 08:28:02AM +0000, Pete Shinners wrote:
>    elif switch == "-C":        # only here 'cause makesetup has it!
>        ext.extra_compile_args.append(word)
>
>this should either be "ext.extra_compile_args.append(value)" or 
>"append_next_word=ext.extra_compile_args". (depending on however 
>makesetup is supposed to work). in its current form, distutils is adding 

makesetup actually does the same thing, and I think this makes -C
completely useless.  (Distutils was therefore preserving
compatibility.)  I've sent a note off to python-dev about this,
suggesting that the second fix should be made; we'll see what the
reaction is.

In any case, good catch, Pete!

--amk                                                             (www.amk.ca)
  "It seems we must always meet again."
  "They do say opposites attract."
    -- The Master and the Doctor, in "Survival"