3 ms·
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.
by MatthewWilkes 11y ago
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.
- bearfrieze 11y agoThanks for pointing this out along with some folks over in the comments on GitHub. I've updated the Gist.