Merge branch 'fix_stop_iteration' into 'master'

Fix StopIteration error on Python >= 3.7

See merge request !41
1 job for master in 45 seconds (queued for 1 second)
latest