[Python-Dev] Policy on refactoring/clean up (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Tue Jun 26 08:12:13 EDT 2018
- Previous message (by thread): [Python-Dev] Policy on refactoring/clean up
- Next message (by thread): [Python-Dev] Policy on refactoring/clean up
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, 26 Jun 2018 11:00:48 +0200 Jeroen Demeyer <J.Demeyer at 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.
- Previous message (by thread): [Python-Dev] Policy on refactoring/clean up
- Next message (by thread): [Python-Dev] Policy on refactoring/clean up
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]