[NumPy-Tickets] [NumPy] #1704: Patch for utils.py lookfor()

NumPy Trac numpy-tickets@scipy....
Mon Jan 3 09:12:09 CST 2011


#1704: Patch for utils.py  lookfor()
-------------------------+--------------------------------------------------
 Reporter:  sebhaase     |       Owner:  somebody    
     Type:  enhancement  |      Status:  needs_review
 Priority:  normal       |   Milestone:  1.5.2       
Component:  Other        |     Version:  1.5.0       
 Keywords:               |  
-------------------------+--------------------------------------------------
Changes (by sebhaase):

  * status:  new => needs_review


Comment:

 correct formatting
 {{{
 928c928,933
 <                 item_name = getattr(v, '__name__', "%s.%s" % (name, n))
 ---
 >                 try:
 >                     item_name = getattr(v, '__name__', "%s.%s" % (name,
 n))
 >                 except NameError:
 >                     # ref. SWIG's global cvars
 >                     #    NameError: Unknown C global variable
 >                     item_name = "%s.%s" % (name, n)
 }}}

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


More information about the NumPy-Tickets mailing list