mirror of
https://github.com/python/cpython.git
synced 2026-05-22 20:32:36 -04:00
4d01259fb2
* Added missing error checks. * Fixed O(n**2) growth pattern. Modeled after lists to achieve linear amortized resizing. Improves construction of "tuple(it)" when "it" is large and does not have a __len__ method. Other cases are unaffected.