[Numpy-svn] [numpy/numpy] 4aef6a: ENH: Add support for float hex format to loadtxt.
GitHub
noreply at github.com
Fri Feb 13 13:22:17 EST 2015
Branch: refs/heads/master
Home: https://github.com/numpy/numpy
Commit: 4aef6a89fda5015129e124099f3809fa4da894a7
https://github.com/numpy/numpy/commit/4aef6a89fda5015129e124099f3809fa4da894a7
Author: Chris Laumann <chris.laumann at gmail.com>
Date: 2015-02-13 (Fri, 13 Feb 2015)
Changed paths:
M numpy/lib/npyio.py
Log Message:
-----------
ENH: Add support for float hex format to loadtxt.
Add _floatconv to npyio.py as a default floating point converter. This
uses float() as a type conversion with a fallback on (ValueError) to
float.fromhex().
Closes #2517.
Commit: 31f5d40b6c5a1ea1cafd2a0892bd53f7e6d50061
https://github.com/numpy/numpy/commit/31f5d40b6c5a1ea1cafd2a0892bd53f7e6d50061
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2015-02-13 (Fri, 13 Feb 2015)
Changed paths:
M numpy/lib/tests/test_io.py
Log Message:
-----------
TST: Make loadtxt able to load floats as hex strings.
The strings must be produced by the python float.hex method.
Commit: 05164650d0818f6a8fbbe81612666f96f0f0efdf
https://github.com/numpy/numpy/commit/05164650d0818f6a8fbbe81612666f96f0f0efdf
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2015-02-13 (Fri, 13 Feb 2015)
Changed paths:
M doc/release/1.10.0-notes.rst
Log Message:
-----------
DOC: Document loadtxt support for float.hex float representation.
Commit: c5b90eb1db7b1318b52f6891fea6a6059c90fe70
https://github.com/numpy/numpy/commit/c5b90eb1db7b1318b52f6891fea6a6059c90fe70
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2015-02-13 (Fri, 13 Feb 2015)
Changed paths:
M doc/release/1.10.0-notes.rst
M numpy/lib/npyio.py
M numpy/lib/tests/test_io.py
Log Message:
-----------
Merge pull request #5504 from charris/cleanup-gh-133
ENH: Add support for float hex format to loadtxt.
Compare: https://github.com/numpy/numpy/compare/35d01b2a7cd3...c5b90eb1db7b
More information about the Numpy-svn
mailing list