This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Suresh.Kalkunte
Recipients Suresh.Kalkunte
Date 2011-02-20.03:40:06
SpamBayes Score 1.3562448e-05
Marked as misclassified No
Message-id <1298173207.62.0.40270752033.issue11252@psf.upfronthosting.co.za>
In-reply-to
Content
Referring to URL for files used to build the Apache Portable Runtime Utilities library using Python 2.7.1(AMD64) or 2.6.5(Cygwin) on a Win32 system (Windows 7), when apr/build/gen-build.py (http://svn.apache.org/viewvc/apr/apr/branches/1.4.x/build/gen-build.py?revision=886996&view=markup) parses '\' on line 96 and 97 in apr-util/build.conf (http://svn.apache.org/viewvc/apr/apr-util/branches/1.4.x/build.conf?revision=886996&view=markup), it recognizes them as separate tokens causing the script to fail on line 168 "assert file[-2:] == '.c'". If the line continuation notation ('\') is removed from build.conf, gen-build.py performs without errors. 

On a Redhat Linux, I have verified Python 2.5.5 (and trust 2.7.1 to provide the same behavior on Linux) handles '\' without errors leading me to believe that if this is a bug, it is only on Win32 platform (and instances where '\' is used for directory path separation).

I am new to Python, from searching the python bug database, I have not been able to find the above condition covered. If this bug has already been identified, please disregard.
History
Date User Action Args
2011-02-20 03:40:07Suresh.Kalkuntesetrecipients: + Suresh.Kalkunte
2011-02-20 03:40:07Suresh.Kalkuntesetmessageid: <1298173207.62.0.40270752033.issue11252@psf.upfronthosting.co.za>
2011-02-20 03:40:06Suresh.Kalkuntelinkissue11252 messages
2011-02-20 03:40:06Suresh.Kalkuntecreate