diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2011-04-05 10:05:40 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2011-04-05 10:05:40 -0600 |
commit | cff9ccb8340d7f4efcd721e1fd9ce36be27e337d (patch) | |
tree | be1b998a4a1b9eb309c1f596438cf8d8b9f2f3dd /numpy/oldnumeric/matrix.py | |
parent | b48b2d5d73dbeef466d6c0a8b41d65d844d7b264 (diff) | |
download | numpy-cff9ccb8340d7f4efcd721e1fd9ce36be27e337d.tar.gz |
BUG: Workaround for the fact the Python 2.4 doesn't accept 'Ub' as a file
mode, but does accept 'rbU'. Note that with either of these modes Python 3
fails to split files with '\r' line endings on linux. This is either a bug
in Python 3 or something that requires more extensive modifications to
genfromtxt. Because genfromtxt now accepts generators it should be possible
to write a generator that opens files in text mode and encodes the lines
as byte streams, and this should provide a workaround.
Diffstat (limited to 'numpy/oldnumeric/matrix.py')
0 files changed, 0 insertions, 0 deletions