[issue39223] Fold constant slicing with slices

Batuhan report at bugs.python.org
Sun Jan 5 12:20:45 EST 2020


Batuhan <batuhanosmantaskaya at gmail.com> added the comment:

We already have a folding operation for Index access ("abcde"[2]) and there was a todo (left by @methane I guess) about supporting other slicings. I think this would look inconsistent if one is support and not the other one.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39223>
_______________________________________


More information about the Python-bugs-list mailing list