I have installed latest numpy from svn on ubuntu karmic(9.10) and compiled the code in my sand box. I downloaded two patches (test_umath_complex.py.patch, build_clib.py.patch) from the review patch directory on <a href="http://projects.scipy.org/numpy/report/12">http://projects.scipy.org/numpy/report/12</a> page for testing. The following patch command gives me <br>
<br>patch -p0 -i test_umath_complex.py.patch<br>patch unexpectedly ends in middle of line<br>patch: **** Only garbage was found in the patch input.<br><br>The patch files are placed in the top level numpy sandbox directory and are in xml format rather than a diff file. I used "save link as" on the link to download the patch on the "Attachments" section of the link page. <br>
Checked the test_umath_complex.py in the numpy/core/test directory and found significant differences with the listing on the patch link (both old, and the new versions).<br><br>Don't think this is limited to just these patches any patch that I tried gives the same error message.<br>
<br>Thank you<br>regards<br>alex<br>