Eric V. Smith <e...@trueblade.com> added the comment:

Then I'd suggest removing the optimization for "abcde"[2], too. I've never seen 
this in real code, and I can't come up with a scenario where it would be 
performance critical. Remember, one of the goals for CPython is to be 
reasonable readable, not maximally tricky.

Could you point to the code (or ideally the commit) with methane's comment?

I'm not trying to be a jerk, though. I do appreciate your patch, I just think 
it's not appropriate for CPython.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39223>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to