classification
Title: parse_makefile doesn't handle $$ correctly
Type: behavior Stage: test needed
Components: Distutils Versions: Python 3.2, Python 3.1, Python 2.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: tarek Nosy List: hanwen, jfinkels, tarek
Priority: normal Keywords:

Created on 2006-05-03 20:16 by hanwen, last changed 2010-10-01 05:49 by jfinkels.

Messages (2)
msg60909 - (view) Author: Han-Wen Nienhuys (hanwen) * Date: 2006-05-03 20:16
In Makefiles, a $$ should expand into a literal $ 
distutils.sysconfig doesn't deal with this.

>>> print open('a.make').read ()

FOO	= $${bar} bla bla

>>> sysconfig.parse_makefile ('a.make')
{'FOO': '$ bla bla', 'bar': ''}


msg117779 - (view) Author: Jeffrey Finkelstein (jfinkels) * Date: 2010-10-01 05:49
There seems to be a test case for this:

http://svn.python.org/view/python/trunk/Lib/distutils/tests/test_sysconfig.py?view=diff&r1=73340&r2=73341
History
Date User Action Args
2010-10-01 05:49:05jfinkelssetnosy: + jfinkels
messages: + msg117779
2010-08-22 10:08:59BreamoreBoysetassignee: tarek
2010-07-31 11:43:30BreamoreBoysetstage: test needed
versions: + Python 3.2, - Python 2.6, Python 3.0
2009-02-05 16:34:59akitadasetnosy: + tarek
type: behavior
versions: + Python 2.6, Python 3.0, Python 3.1, Python 2.7, - Python 2.4
2006-05-03 20:16:33hanwencreate