Message340816
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. |
|
Date |
User |
Action |
Args |
2019-04-25 00:30:11 | martin.panter | set | recipients:
+ martin.panter, barry, r.david.murray, xdegaye |
2019-04-25 00:30:11 | martin.panter | set | messageid: <1556152211.05.0.162054474778.issue36711@roundup.psfhosted.org> |
2019-04-25 00:30:11 | martin.panter | link | issue36711 messages |
2019-04-25 00:30:10 | martin.panter | create | |
|