Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consistently use 64-bit integers in
io.ascii
(including Windows) (#…
…16005) * ensure 64 bit int columns remain 64 bit int type on Windows (Python path) * ensure 64 bit in columns read correctly, C code path * Fixed tests to reflect changes from reading 64bit integers as ints * C path int parsing: use int64_t instead of long long * update the test to reflect the policy of defaulting to 64bit ints in all cases. * update changelog to stress the 64-bit by default behavior. * forward port ipac test from #15992 * small optimization: inline int64 string parsing C function * Tweak changelog wording and add what's new entry
- Loading branch information
Showing
9 changed files
with
116 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
The ``io.ascii`` Python and C table readers were updated to use a 64-bit integer field by | ||
default when reading a column of integer numeric data. This changes the default behavior | ||
on Windows and potentially 32-bit architectures. Previously on those platforms, table | ||
columns with any long integers which overflowed the 32-bit integer would be returned | ||
as string columns. The new default behavior is consistent with ``numpy`` v2 and ``pandas``. | ||
|
||
The new behavior also fixed the error in reading IPAC tables with ``long`` column type | ||
on some platforms, e.g., Windows. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters