summaryrefslogtreecommitdiff
path: root/numpy/lib/npyio.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2015-01-24 11:50:06 -0500
committerCharles Harris <charlesr.harris@gmail.com>2015-01-24 11:50:06 -0500
commite1ff6268a2e256bdb6cf6c06457456c7c4bd495d (patch)
treecfe093d622a978551b7f5a69f9c06eb50ecc4017 /numpy/lib/npyio.py
parent22f2dc50fdd305a3b6da91b9efdf40a67a58a1e8 (diff)
parent6bb48b0639322a0f5908996f33c98db62304b839 (diff)
downloadnumpy-e1ff6268a2e256bdb6cf6c06457456c7c4bd495d.tar.gz
Merge pull request #5495 from charris/cleanup-gh-4649
BUG: Fix genfromtext NameValidator arguments passed to easy_dtype.
Diffstat (limited to 'numpy/lib/npyio.py')
-rw-r--r--numpy/lib/npyio.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/numpy/lib/npyio.py b/numpy/lib/npyio.py
index 2e68979c4..90ef83f4d 100644
--- a/numpy/lib/npyio.py
+++ b/numpy/lib/npyio.py
@@ -1466,7 +1466,11 @@ def genfromtxt(fname, dtype=float, comments='#', delimiter=None,
names = validate_names(names)
# Get the dtype
if dtype is not None:
- dtype = easy_dtype(dtype, defaultfmt=defaultfmt, names=names)
+ dtype = easy_dtype(dtype, defaultfmt=defaultfmt, names=names,
+ excludelist=excludelist,
+ deletechars=deletechars,
+ case_sensitive=case_sensitive,
+ replace_space=replace_space)
# Make sure the names is a list (for 2.5)
if names is not None:
names = list(names)