This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients barry, martin.panter, r.david.murray, xdegaye
Date 2019-04-25.00:30:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1556152211.05.0.162054474778.issue36711@roundup.psfhosted.org>
In-reply-to
Content
This is caused by Serhiy’s first change to 2.7 in Issue 21448. Compare Mercurial rev. 1b1f92e39462 (3.4 branch) with ba90bd01c5f1 (2.7). In 2.7, he applied the Python 3 version of the code, which used “str.splitlines” rather than a regular expression “NLCRE_crack.split”. This seems reasonable, but the old Python 2 code remains under a spurious “def pushlines” block.

I think that first block of “pushlines” can safely be removed, just leaving the second version, a single line of code like in Python 3.
History
Date User Action Args
2019-04-25 00:30:11martin.pantersetrecipients: + martin.panter, barry, r.david.murray, xdegaye
2019-04-25 00:30:11martin.pantersetmessageid: <1556152211.05.0.162054474778.issue36711@roundup.psfhosted.org>
2019-04-25 00:30:11martin.panterlinkissue36711 messages
2019-04-25 00:30:10martin.pantercreate