[Python-Dev] operator precedence of __eq__, __ne__, etc, if both object have implementations
R. David Murray
rdmurray at bitdance.com
Thu Sep 24 15:08:50 CEST 2009
On Thu, 24 Sep 2009 at 12:07, Nick Coghlan wrote:
> 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).
We do. There's even support code in test.support for handling such
downloads relatively cleanly (and cleaning up afterward, though that
last was only added recently).
More information about the Python-Dev