• Jeremy Hylton's avatar
    Variant of a patch from Gintautas Miliauskas. · 25b90700
    Jeremy Hylton authored
    The old code used itertools.chain(), which didn't work as expected.
    If the first of the two iterator grew after the chain had started
    consuming the second iterator, the new element(s) in the first
    iterator would never be consumed.
    
    Fix this bug by eliminating the need for chaining.  Process all the
    _added_during_commit objects at the end, each with its own
    ObjectWriter instance.
    25b90700
Connection.py 39.3 KB