Message7260

Author int3
Recipients int3
Date 2012-06-25.07:32:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1340609533.91.0.0422720462694.issue1935@psf.upfronthosting.co.za>
In-reply-to
Content
So here's my patch and it's 99% done. It refactors itertools to move all the functions out into their own classes so they can act as new-style Python classes. I've also fixed numerous bugs -- mostly edge-cases -- so that all but three of the tests pass. This is down from 20+ failures / errors when I first started working on it.

I had to rewrite tee() extensively to fit CPython's copy semantics, but the structure of the other functions are largely the same. Two of the remaining test failures stem from Jython's lack of support for large integers, so I guess we can skip those tests for now. The other failing test is that deleting tee() objects don't make weakref proxies to them throw ReferenceErrors. I'm not really sure how to solve this one. Anyway, my patch with my progress thus far is attached.
History
Date User Action Args
2012-06-25 07:32:13int3setrecipients: + int3
2012-06-25 07:32:13int3setmessageid: <1340609533.91.0.0422720462694.issue1935@psf.upfronthosting.co.za>
2012-06-25 07:32:13int3linkissue1935 messages
2012-06-25 07:32:13int3create