Deprecate the ts=None
optional kwarg in _read_next_timestep()
for 3.0
#3928
Labels
Component-Readers
CZI-performance
performance track of CZIEOSS4 grant
deprecation
Deprecated functionality to give advance warning for API changes.
Milestone
Is your feature request related to a problem?
Several readers have a the following pattern
But IIRC the vast majority never use the
ts=None
kwarg for some kind of copy.The existence of the
ts=None
kwarg is a bit of a slow and ugly and makes some optimisations difficult (see #3892 and copy confusion in DCDReader for in #3888 ).Describe the solution you'd like
Deprecate for 3.0,
To quote @richardjgowers on #3892
"I think a Reader should hold a Timestep which is reused consistently, then people can manually copy if they want to." which makes a lot of sense to me.
Describe alternatives you've considered
Do nothing.
The text was updated successfully, but these errors were encountered: