On Tue, 26 Jun 2018 11:00:48 +0200 Jeroen Demeyer <j.deme...@ugent.be> wrote: > Hello, > > On https://github.com/python/cpython/pull/7909 I encountered friction > for a PR which I expected to be uncontroversial: it just moves some code > without changing any functionality. > > So basically my question is: is there some CPython policy *against* > refactoring code to make it easier to read and write? (Note that I'm not > talking about pure style issues here)
I think refactorings are generally ok, assuming they bring a substantial maintainability or readability benefit. I haven't studied your PR enough to decide whether that's the case for the changes you are proposing, though. Regards Antoine. _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com