Raise instead of silently ignore when val2 is provided but will be ignored#9373
Raise instead of silently ignore when val2 is provided but will be ignored#9373bsipocz merged 3 commits intoastropy:masterfrom
Conversation
|
I'm happy with the change, but since this is an API change, I'll ping @taldcroft too. My own sense is that we do not have to go through a deprecation for this, but it is not difficult to do. If we do go ahead, it will need an entry under API changes in |
I've no problem with writing that, and I can toss in a few more tests to appease the coverage machine. Just let me know if it is wanted. |
mhvk
left a comment
There was a problem hiding this comment.
Approved by me, but I'd still like @taldcroft's input; @taldcroft - any chance for a quick look?
|
Thank you @aarchiba! |
Currently various Time functions that don't use val2 will silently ignore the value provided by the user. With this PR a ValueError is raised instead.