Pyhon 2.x or 3.x, which is faster?

BartC bc at freeuk.com
Tue Mar 8 14:02:03 EST 2016


On 08/03/2016 16:15, Mark Lawrence wrote:
> On 08/03/2016 13:49, BartC wrote:
>> On 08/03/2016 04:40, Steven D'Aprano wrote:
>>> On Tuesday 08 March 2016 12:41, BartC wrote:
>>>
>>> Nevertheless, in the real world, you have to deal with corrupt JPGs and
>>> files mislabelled as JPGs. And "crashing" doesn't count as "deal with"
>>> :-)
>>
>> OK, I changed the 'raise' line to 'exit(0)'. Job done!
>>
>> (I couldn't recreate the problem easily because the common failures
>> didn't call abortjpeg() at all.)
>>
>> It doesn't make Py3 any faster than Py2 though...
>>
>
> So what, if 99% of people couldn't care less about that fact?

Um, because that's what the thread is about?

-- 
bartc





More information about the Python-list mailing list