News for hackers. Stuff that matters.
Re:Comprehensions in Python the Jedi way by MatthewWilkes on Sunday March 27, 2016 @12:28PM (#11370478)
is should not be used to check string equality, as it is in the space filter. This only works as CPython interns short strings automatically.
Re:Comprehensions in Python the Jedi way by bearfrieze on Sunday March 27, 2016 @02:35PM (#11370944)
Thanks for pointing this out along with some folks over in the comments on GitHub. I've updated the Gist.