[NumPy-Tickets] [NumPy] #1533: no error for poor spelling in pyf file

NumPy Trac numpy-tickets@scipy....
Fri Jul 2 12:26:04 CDT 2010

#1533: no error for poor spelling in pyf file
  Reporter:  samtygier   |       Owner:  pearu 
      Type:  defect      |      Status:  closed
  Priority:  normal      |   Milestone:  2.0.0 
 Component:  numpy.f2py  |     Version:  1.3.0 
Resolution:  wontfix     |    Keywords:        
Changes (by pearu):

  * status:  new => closed
  * resolution:  => wontfix


 This behavior is a feature. Namely, by design f2py scans
 Fortran codes for patterns of information that are needed
 for constructing wrapper functions. As a result, lines
 that do not match these patterns are ignored as irrelevant
 for wrapper function construction. Unfortunately it
 includes also lines with syntax errors and typos.

 Use `f2py --verbose ...` to see which lines f2py ignores.

 The only action that I can see to fix this behavior is
 to turn --verbose default for pyf files and disable it
 when scanning Fortran source codes. Please reopen this
 ticket when such a behavior is a must.

 Btw, different from numpy.f2py, f2py g3 will parse
 Fortran codes and signature files allowing one
 to recognize syntax errors and typos in pyf files.
 However, f2py g3 is not ready for wrapping Fortran codes yet.

Ticket URL: <http://projects.scipy.org/numpy/ticket/1533#comment:1>
NumPy <http://projects.scipy.org/numpy>
My example project

More information about the NumPy-Tickets mailing list