Closed leggewie closed 4 years ago
I can get past this error in python2 by replacing body.extend(part_body.splitlines(keepends=True))
with body.extend(part_body.splitlines(True))
. I will then get past this one and run into a different error. The change in syntax seems to be a difference between python2 and python3 according to the docs.
Is mail-deduplicate still supported on python2? It is available for it via pip.
Thanks @leggewie for the bug report.
mail-deduplicate
v3.0.0 was supposed to be a short-lived transitional breaking release to reserve the project name on PyPi. Because I was time-constrained I choose to compromise on quality and have it out as fast as possible.
The plan was then to fix all remaining issues in v4.0.0 but I still have a couple of issues to fix. All in all Python 2.x is no longer supported, but I did not properly remove it for the v3.0.0 release. Hence the inconsistent mention of Python 2.x support you encountered via pip
.
I'll try to cut a 4.0.0 release to have that strange state of affair settled for good though. In the mean time, I'll close the issue.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
I use version 3.0.0, installed via pip on Ubuntu Bionic. That means, my standard python interpreter is python 2.7.17. That leads to the following TypeError when the splitlines function is called.