[issue32917] ConfigParser writes a superfluous final blank line

TitanSnow report at bugs.python.org
Sat Mar 10 01:37:28 EST 2018


TitanSnow <tttnns1024 at gmail.com> added the comment:

If we treat the original behavior as a bug,
it’s much easier to write a patch
that just changes the default behavior
and never outputs a final blank line.

I have looked through the testsuite of it.
It seems that the original author had knew
the final blank line and treat it as
expect result. I’m not sure about it.

----------
Added file: https://bugs.python.org/file47474/simple.patch

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32917>
_______________________________________


More information about the Python-bugs-list mailing list