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,

Re: set and frozenset unit tests?

2005-07-12 Thread Reinhold Birkenfeld
discrete values. > > 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 a

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 platf

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: http://s

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 t

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