Message7260
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. |
|
Date |
User |
Action |
Args |
2012-06-25 07:32:13 | int3 | set | recipients:
+ int3 |
2012-06-25 07:32:13 | int3 | set | messageid: <1340609533.91.0.0422720462694.issue1935@psf.upfronthosting.co.za> |
2012-06-25 07:32:13 | int3 | link | issue1935 messages |
2012-06-25 07:32:13 | int3 | create | |
|