summaryrefslogtreecommitdiff
path: root/numpy/lib/npyio.py
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2010-05-08 16:34:28 +0000
committerPauli Virtanen <pav@iki.fi>2010-05-08 16:34:28 +0000
commit8a6767f5ad921d49f6d69e0ee2da39ba9209020c (patch)
tree3cbbbe738db9b90e1a9347d04aec7dd1121996f2 /numpy/lib/npyio.py
parent217a7b2459186dff21b73a239c0daaec1ee35b44 (diff)
downloadnumpy-8a6767f5ad921d49f6d69e0ee2da39ba9209020c.tar.gz
BUG: core: ensure we have GIL before calling PyOS_string_to_double (fixes #1345)
In Python >= 2.7, the PyOS_ascii_strtod has been deprecated and replaced with PyOS_string_to_double. However, the latter may raise Python exceptions, which requires that GIL is held when calling it.
Diffstat (limited to 'numpy/lib/npyio.py')
0 files changed, 0 insertions, 0 deletions