This came out of discussions in #5552 (#5552 (comment), #5552 (comment), #5552 (comment)).
The crux of the issue is this: the fast_reader options that get passed into ascii.io.read are silently ignored if the reader is not a "fast" reader. And that's confusing because the options actually affect the output. So it would be much clearer to have the reader raise an exception if the user gives fast_reader options but the reader is not a fast reader.
Or is there some specific reason why that doesn't happen?
I took a shot at this in https://github.com/eteq/astropy/tree/fortranexp2-fast-error but that approach doesn't seem to have worked (although maybe @dhomeier tried it and had better results?)
cc @taldcroft
This came out of discussions in #5552 (#5552 (comment), #5552 (comment), #5552 (comment)).
The crux of the issue is this: the
fast_readeroptions that get passed intoascii.io.readare silently ignored if the reader is not a "fast" reader. And that's confusing because the options actually affect the output. So it would be much clearer to have the reader raise an exception if the user givesfast_readeroptions but the reader is not a fast reader.Or is there some specific reason why that doesn't happen?
I took a shot at this in https://github.com/eteq/astropy/tree/fortranexp2-fast-error but that approach doesn't seem to have worked (although maybe @dhomeier tried it and had better results?)
cc @taldcroft