[issue44631] Refactoring the repr() of the _Environ class (os module)

2021-07-20 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue44631] Refactoring the repr() of the _Environ class (os module)

2021-07-20 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 85fa3b6b7c11897732fedc443db0e4e8e380c8f8 by Leonardo Freua in branch 'main': bpo-44631: Make the repr() of the _Environ class more readable. (#27128) https://github.com/python/cpython/commit/85fa3b6b7c11897732fedc443db0e4e8e380c8f8 --

[issue44631] Refactoring the repr() of the _Environ class (os module)

2021-07-16 Thread Éric Araujo
Éric Araujo added the comment: Hello! I’ve seen your name on a few recent tickets, thanks for contributing and welcome here! In general, the CPython project doesn’t do esthetic code changes for their own sake. Not all code is changed from %-formatting when format is added, not all code

[issue44631] Refactoring the repr() of the _Environ class (os module)

2021-07-13 Thread Leonardo Freua
Change by Leonardo Freua : -- keywords: +patch pull_requests: +25671 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27128 ___ Python tracker ___

[issue44631] Refactoring the repr() of the _Environ class (os module)

2021-07-13 Thread Leonardo Freua
New submission from Leonardo Freua : Currently, the repr() code of the _Environ class does many things in a bunched way, making it difficult to read and difficult to determine the result returned by the method. Therefore, I propose an adjustment in the code to make it more readable, as well