diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2001-01-16 16:33:28 +0000 |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2001-01-16 16:33:28 +0000 |
commit | b11bd03626f2c4bb545bac0ba2150d6e168faccd (patch) | |
tree | e5629e97e94f5275ecb77563b02cd4292c5360f5 /Python/pythonrun.c | |
parent | 9710297e365185e7cdb1a1075a6a1b3d378bd4fc (diff) | |
download | cpython-git-b11bd03626f2c4bb545bac0ba2150d6e168faccd.tar.gz |
Fix bugs with integer-valued variables when parsing Makefiles. Values
for done[n] can be integers as well as strings, but the code
concatenates them with strings (fixed by adding a str()) and calls
string.strip() on them (fixed by rearranging the logic)
(Presumably this wasn't noticed previously because parse_makefile()
was only called on Modules/Makefile, which contains no integer-valued
variables.)
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions