Author mark.dickinson
Recipients brandtbucher, mark.dickinson, rhettinger
Date 2022-01-13.08:53:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
And there are some similar things going on in rangeobject.c.

        if (r->step == _PyLong_GetOne()) {
            return idx;

Again, technically "okay", since it's only a fast path and the slow path that follows will still do the right thing with a 1 that's not "the" 1, but it feels fragile.
Date User Action Args
2022-01-13 08:53:25mark.dickinsonsetrecipients: + mark.dickinson, rhettinger, brandtbucher
2022-01-13 08:53:24mark.dickinsonsetmessageid: <>
2022-01-13 08:53:24mark.dickinsonlinkissue46361 messages
2022-01-13 08:53:24mark.dickinsoncreate