SF bug #461073: mailbox __iter__ bug, by Andrew Dalke.
Andrew quite correctly notices that the next() method isn't quite what we need, since it returns None upon end instead of raising StopIteration. His fix is easy enough, using iter(self.next, None) instead.
G
Guido van Rossum committed
93a696f49171c0593b23817bbf56ab44269a9587
Parent: 1f47d11