Philip Jenvey <[email protected]> added the comment:

The actual shrinking should only occur when a length_hint reported a greater 
size than the actual amount the list was extended by. Which should never happen 
w/ a plain tuple

        # cut back if the length hint was too large
        if extended < length_hint:
            w_list._resize_hint(w_list.length())

________________________________________
PyPy bug tracker <[email protected]>
<https://bugs.pypy.org/issue1599>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to