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.

classification
Title: fh is not defined in npyio.py fromregex
Type: crash Stage: resolved
Components: None Versions: Python 2.7
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: William.Dawson, brian.curtin
Priority: normal Keywords:

Created on 2011-03-22 18:14 by William.Dawson, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
npyio.py William.Dawson, 2011-03-22 18:14 this file contains the fh.close() line in fromregex where the code trips
Messages (2)
msg131758 - (view) Author: William Dawson (William.Dawson) Date: 2011-03-22 18:14
NameError: global name 'fh' is not defined
File "/Users/williamdawson/Programs/fat_wip.py", line 263, in <module>
  header_gal = readheader(gal_cat)
File "/Users/williamdawson/Programs/tools.py", line 96, in readheader
  [('column',numpy.int16),('name','S10')])
File "/Library/Frameworks/EPD64.framework/Versions/7.0/lib/python2.7/site-packages/numpy/lib/npyio.py", line 972, in fromregex

Note that this code works perfectly fine with the python 2.6 EPD release.
msg131759 - (view) Author: Brian Curtin (brian.curtin) * (Python committer) Date: 2011-03-22 18:16
You should report this to whoever makes npyio.py
History
Date User Action Args
2022-04-11 14:57:15adminsetgithub: 55845
2011-03-22 18:16:12brian.curtinsetstatus: open -> closed

nosy: + brian.curtin
messages: + msg131759

resolution: not a bug
stage: resolved
2011-03-22 18:14:15William.Dawsoncreate