Merge branch 'release/0.3.1' into develop
iter with timeout of zero does not raise TimeoutError
test for iter with nonzero timeout
bump version to 0.4.0
Merge branch 'release/0.4.0'