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 malin
Recipients malin, spz1st
Date 2020-08-15.02:37:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1597459059.77.0.141713288192.issue41555@roundup.psfhosted.org>
In-reply-to
Content
The re.sub() doc said:
Changed in version 3.7: Empty matches for the pattern are replaced when adjacent to a previous non-empty match.

IMO 3.7+ behavior is more reasonable, and it fixed a bug, see issue25054.
History
Date User Action Args
2020-08-15 02:37:39malinsetrecipients: + malin, spz1st
2020-08-15 02:37:39malinsetmessageid: <1597459059.77.0.141713288192.issue41555@roundup.psfhosted.org>
2020-08-15 02:37:39malinlinkissue41555 messages
2020-08-15 02:37:39malincreate