YES! YES! YES! 馃挴
No objection but do not start a PR to change everywhere. Lets do it new code or when we need to touch old code
No objection but do not start a PR to change everywhere. Lets do it new code or when we need to touch old code
That's exactly what I had in mind, sorry for not being clear in the beginning!
f-strings in new code when appropriateI'm also in favor, though I guess we don't really need to keep this issue open? Unless @hoechenberger wants to add a sentence to the contributor guide about it...
I just wanted to hear your opinions :) I can add a couple words to the contributor guide, sure!
Yes the informal policy is that once we bump a requirement (incl. Python) we start using features available from that requirement where / when it's useful to do so, assuming people agree that those features are useful compared to what we've been doing. For example
dict maintains order in 3.6+np.mean(x, axis=0, keepdims=True) instead of np.mean(x, axis=0)[np.newaxis] once we bumped to a NumPy requirement that had keepdims.format over % string because the benefits weren't clear enough to everyone / it had its own drawbacksf-syntax strings are probably nicer enough to prefer them going forward, though.
Feel free to add some variant of this to the dev docs if you want to semi-formalize the policy