[Python-Dev] operator precedence of __eq__, __ne__, etc, if both object have implementations

Nick Coghlan ncoghlan at gmail.com
Thu Sep 24 04:07:03 CEST 2009

Mark Dickinson wrote:
> On Wed, Sep 23, 2009 at 4:54 PM, Dino Viehland <dinov at microsoft.com> wrote:
>> We are going to start contributing tests back real soon now.  I'm not sure
>> that these are the best tests to contribute as they require a version of
>> Python to compare against rather than being nice and stand alone.  But I'm
>> sure we have other tests which cover this as well just not as exhaustively.
>> We could also possibly check in the baseline file and then CPython could
>> compare it's self to previous versions but it'd probably be a pretty
>> big file - so it probably shouldn't be included in the standard install
>> in the tests directory.
> How big is big?  For comparison, CPython's Lib/test/decimaltestdata
> directory alone is already over 4Mb, so maybe size isn't an issue?

For big test files, there's also the option of including download logic
in the test to go retrieve it from a known URL (I believe we already do
that for some of the codec tests).


Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia

More information about the Python-Dev mailing list