Steven D'Aprano added the comment:
> not complied with the PEP-8 formatting.
PEP 8 says:
"Some other good reasons to ignore a particular guideline:
3. Because the code in question predates the introduction of the guideline and
there is no other reason to be modifying that code."
So PEP 8 i
Serhiy Storchaka added the comment:
PEP 8 is a guide for writing new code. It does not require rewriting the old
code. In fact, patches with mass reformatting of the stdlib code have always
been rejected.
--
nosy: +serhiy.storchaka
resolution: -> not a bug
stage: -> resolved
status
New submission from Zhiyuan Chen :
Current cpython code base still contains a massive amount of code that is not
complied with the PEP-8 formatting.
For example, there are 553 one line if statement (`if xxx: yyy`) in the current
codebase.
--
files: onelineif.txt
messages: 408761
nosy