Repository navigation
Conversation
|
This has made me think about what should happen when passing a Time subclass into Time. Previously the subclass would come out directly, which is definitely wrong. But my intuition is that you would get back out the same moment(s) of time but represented in a pure Enabling this behavior would probably mean taking out the init handling in Anyway, I'm OK with merging this basically as-is, but with a caveat of adding an API change entry noting that |
|
@taldcroft - yes, I agree, one would expected One thing regarding the API change: that is nominally not OK for 4.0.2 -- though I guess the current behaviour for the initializer is somewhat of a bug. |
|
Yeah, that I guess there are two options:
I feel like this bug is not so critical and would be inclined to only putting it into 4.2. The API says that you can always initialize a Time object with another Time object, so I think that fixing the current incorrect behavior for subclasses needs to be in a feature release. |
|
Yes, let's go for 4.2; it is not like we've noticed the bug for a couple of years! |
|
Rebased. And raised #10654 to remind us of the subclass issue and the idea of a |
|
No longer necessary, as the issue is fixed (by #10656) |
fixes #10651