Re: [ZODB-Dev] Merge request: ZODB/branches/tseaver-better_repozo_tests

2010-05-15 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Fulton wrote: > On Fri, May 14, 2010 at 1:57 PM, Tres Seaver wrote: > ... >> Jim, would you please review and merge the 'tseaver-better_repozo_tests' >> branch to the ZODB trunk? The only non-test change is the one I'm >> replying to, which is in

Re: [ZODB-Dev] Storage iterators and IndexError

2010-05-15 Thread Hanno Schlichting
On Fri, May 14, 2010 at 8:43 PM, Jim Fulton wrote: > There's a test for storage iterators that verifies that they raise > a special exception that extends StopIteration and IndexError. > This makes storage iterators a bit harder to implement than > necessary. > > Does anyone know of a reason why w

Re: [ZODB-Dev] Storage iterators and IndexError

2010-05-15 Thread Christian Theune
On 05/14/2010 08:43 PM, Jim Fulton wrote: > The file storage iterator was implemented before Python had iterators. > (Actually, Python previously had an iterator based on a corner > of the sequence protocol, which FileStorage used.) > > There's a test for storage iterators that verifies that they r