Issue6145
Created on 2009-05-29 22:07 by donlorenzo, last changed 2009-09-07 08:10 by tarek.
| File name |
Uploaded |
Description |
Edit |
Remove |
|
distutil_extension.patch
|
donlorenzo,
2009-05-29 22:07
|
fixes the -C switch in distutil extension setup files |
|
|
|
msg88542 - (view) |
Author: Lorenz Quack (donlorenzo) |
Date: 2009-05-29 22:06 |
|
I'm not sure if this is a bug or some weird backward-compatible behaviour...
In "distutil.extension.read_setup_file" it checks for the "-C" switch
but then appends "word" instead of "value"
So if you pass "-C-Wall" it actually passes exactly that to the compiler
instead of just "-Wall"
In the file it says the switch is "only here 'cause makesetup has it!"
so is this some behaviour the way it is for compability reasons or am I
missing something?
If this is indeed a bug I attached a patch
|
|
msg92353 - (view) |
Author: Tarek Ziadé (tarek) |
Date: 2009-09-07 08:10 |
|
Thanks for the patch.
I need to look at how read_setup_file is actually used in the community,
then apply the patch in consequence.
|
|
| Date |
User |
Action |
Args |
| 2009-09-07 08:10:17 | tarek | set | type: behavior messages:
+ msg92353 versions:
- Python 2.6, Python 2.5, Python 2.4, Python 3.0 |
| 2009-05-29 22:07:00 | donlorenzo | create | |
|