[Numpy-svn] r5012 - trunk/numpy/f2py

numpy-svn@scip... numpy-svn@scip...
Thu Apr 10 18:58:43 CDT 2008


Author: rkern
Date: 2008-04-10 18:58:42 -0500 (Thu, 10 Apr 2008)
New Revision: 5012

Modified:
   trunk/numpy/f2py/crackfortran.py
Log:
Fix a long-standing typo preventing the build of scipy.stats.mvn. Sorry Stefan, no unittest; the original code is not amenable to unittests without a large refactoring.

Modified: trunk/numpy/f2py/crackfortran.py
===================================================================
--- trunk/numpy/f2py/crackfortran.py	2008-04-10 11:05:16 UTC (rev 5011)
+++ trunk/numpy/f2py/crackfortran.py	2008-04-10 23:58:42 UTC (rev 5012)
@@ -864,7 +864,7 @@
         name,args,result=_resolvenameargspattern(m.group('after'))
         if name is not None:
             if args:
-                args=rmbadname([x.strip() for x in markoutercomma(args).strip('@,@')])
+                args=rmbadname([x.strip() for x in markoutercomma(args).split('@,@')])
             else: args=[]
             assert result is None,`result`
             groupcache[groupcounter]['entry'][name] = args



More information about the Numpy-svn mailing list