Batuhan <batuhanosmantask...@gmail.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.

I dont think this patch will decrease readability and make code complex.

> Could you point to the code (or ideally the commit) with methane's comment?
https://github.com/python/cpython/blob/master/Python/ast_opt.c#L319 (PR 2858)

----------

_______________________________________
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