On 12 August 2010 11:16, Stefan Behnel <[email protected]> wrote:
> Lisandro Dalcin, 12.08.2010 16:10:
>> On 11 August 2010 18:49, Carl Witty wrote:
>>>
>>> I'll write a patch that fixes these problems.
>>>
>>
>> The testcase you added for #561 fails like this with Python 3:
>>
>> $ python3 runtests.py -T561
>>
>> special_methods_T561.c:5000:2: error: #error __setslice__ and
>> __delslice__ not supported in Python 3.
>> special_methods_T561.c:5182:2: error: #error __setslice__ and
>> __delslice__ not supported in Python 3.
>> special_methods_T561.c:5364:2: error: #error __setslice__ and
>> __delslice__ not supported in Python 3.
>>
>>
>> I would say that you should just comment out the tests involving these
>> methods. We could try to support them at some point in Python 3, but
>> I'm not particularly interested in contributing the patch ;-)
>
> IIRC, the decision was to not do anything about these methods. That's what
> the above error comes from. Their use has been discouraged since long
> before Python 3 was on the horizon, so if users implement them, it's their
> fault.
>

Perhaps I was not clear enough. I'm just asking Carl to comment out
the test involing these special methods... I do not want the testsuite
failing under Python 3.  Perhaps these tests could be moved to other
test file, that only get tested under a Python 2 runtime.


-- 
Lisandro Dalcin
---------------
CIMEC (INTEC/CONICET-UNL)
Predio CONICET-Santa Fe
Colectora RN 168 Km 472, Paraje El Pozo
Tel: +54-342-4511594 (ext 1011)
Tel/Fax: +54-342-4511169
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to