[Cython] Cython 0.23 released
Stefan Behnel
stefan_ml at behnel.de
Tue Aug 18 20:03:16 CEST 2015
Antoine Martin schrieb am 17.08.2015 um 14:14:
> On 17/08/15 14:14, Stefan Behnel wrote:
>> Stefan Behnel schrieb am 17.08.2015 um 08:17:
>>> Antoine Martin schrieb am 17.08.2015 um 06:09:
>>>> On 09/08/15 13:54, Antoine Martin wrote:
>>>>> I've just hit a regression with 0.23: a recursion loop generating code
>>>>> for this particular pyx:
>>>>> http://xpra.org/trac/browser/xpra/trunk/src/xpra/codecs/nvenc4/encoder.pyx
>>>> I have narrowed it down to the problematic finally block via trial and
>>>> error:
>>>> http://xpra.org/trac/browser/xpra/trunk/src/xpra/codecs/nvenc4/encoder.pyx#L2024
>>>> Any of those statements, including the simple logging ones, cause
>>>> Cython's "fresh_finally_clause" code to go into an infinite loop via
>>>> deepcopy.
>>>>
>>>> What am I doing wrong here?
>>>> Those statements look fine and they used to compile just fine too.
>>> Thanks for the report. This is a bug in the latest Cython release. I'll see
>>> if I can come up with a fix.
>> I couldn't reproduce it with any reasonable amount of test code yet, but
>> does this fix it for you?
>>
>> https://github.com/cython/cython/commit/5a40d5459aad1c6f15fb8526f0144d3c0f1dfe76
> I am afraid not, I still get the same stacktrace.
> Let me know if there's anything else I can try.
How about this?
https://github.com/cython/cython/commit/5fa766ac25a31b0c1addd08efd19d2d34661317b
Stefan
More information about the cython-devel
mailing list