Re: set and frozenset unit tests?

2005-07-14 Thread Jacob Page
Steven Bethard wrote: Jacob Page wrote: Oye, there's quite a number of set and frozenset features that aren't well-documented that I now need to implement. What a fun chore! It would be a great help if you could submit appropriate documentation patches for the areas you don't think are

Re: set and frozenset unit tests?

2005-07-14 Thread Raymond Hettinger
[Jacob Page] there are two minor things I don't see documented that caught me by surprise: * Since the =, , , and = operators raise an exception if the right-hand operand is not a set or frozenset, it seemed reasonable to me to assume that == and != should, too. However, the test suite for

Re: set and frozenset unit tests?

2005-07-13 Thread Steven Bethard
Jacob Page wrote: Oye, there's quite a number of set and frozenset features that aren't well-documented that I now need to implement. What a fun chore! It would be a great help if you could submit appropriate documentation patches for the areas you don't think are well-documented:

Re: set and frozenset unit tests?

2005-07-12 Thread Reinhold Birkenfeld
. Though I have my own unit tests for verifying this claim, I'd like to run my code through actual set and frozenset unit tests. Does any such code exist? Is it in pure Python? If so, where can it be obtained? Oh, and again, I'd really appreciate additional feedback on the module, especially

Re: set and frozenset unit tests?

2005-07-12 Thread Jacob Page
Reinhold Birkenfeld wrote: Jacob Page wrote: I'd like to run my code through actual set and frozenset unit tests. Does any such code exist? Is it in pure Python? If so, where can it be obtained? Look at /usr/lib/python2.x/test/ (on unix platforms). Thanks for pointing that to me

set and frozenset unit tests?

2005-07-11 Thread Jacob Page
tests for verifying this claim, I'd like to run my code through actual set and frozenset unit tests. Does any such code exist? Is it in pure Python? If so, where can it be obtained? Oh, and again, I'd really appreciate additional feedback on the module, especially related to design, if you've