News for hackers. Stuff that matters.
Re:PEP 572: Python assignment expressions has been accepted by est on Tuesday July 03, 2018 @09:14PM (#17454726)
It' a problem with re module really.

re.match should return a match object no matter what, and .group() should return strings, empty string if non were matched.

Re:PEP 572: Python assignment expressions has been accepted by eesmith on Wednesday July 04, 2018 @12:44AM (#17455316)
I don't see how that would improve things. Could you sketch a solution based around your ideas?