[New-bugs-announce] [issue28145] Fix whitespace in C source code
Francisco Couzo
report at bugs.python.org
Wed Sep 14 06:59:46 EDT 2016
New submission from Francisco Couzo:
I changed most of the tabs in the source code to spaces, and removed trailing whitespace.
I also made some scripts that generate code use spaces and not generate trailing whitespace. (makesetup and makeunicodedata.py)
I fixed a typo in Modules/makesetup (I don't know if I should open another issue, if so please tell me)
I think by changing line Tools/unicode/makeunicodedata.py:1260 to file.write(s.strip() + "\n") the trailing whitespace in unicodename_db.h and unicodedata_db.h would be fixed, but I didn't put that change in the patch because I couldn't test it.
I couldn't find where Parser/asdl_c.py is generating the trailing spaces for Python-ast.h
----------
files: fix_whitespace.patch
keywords: patch
messages: 276414
nosy: franciscouzo
priority: normal
severity: normal
status: open
title: Fix whitespace in C source code
versions: Python 3.7
Added file: http://bugs.python.org/file44657/fix_whitespace.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28145>
_______________________________________
More information about the New-bugs-announce
mailing list