Commit 1ea84199 authored by Stefan Behnel's avatar Stefan Behnel

Fix for non-CPython: continue iterating during set iteration after finding the first element.

parent 29961acc
......@@ -2,6 +2,15 @@
Cython Changelog
================
0.28.3 (2018-??-??)
===================
Bugs fixed
----------
* Set iteration was broken in non-CPython since 0.28.
0.28.2 (2018-04-13)
===================
......
......@@ -462,7 +462,7 @@ static CYTHON_INLINE int __Pyx_set_iter_next(
}
(void)orig_length;
(void)ppos;
return 0;
return 1;
}
#if CYTHON_COMPILING_IN_CPYTHON
if (unlikely(PySet_GET_SIZE(iter_obj) != orig_length)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment