3.8 support update

Assuming there will be no problems with the test we can probably commit this change as proposed by Amiad.
Merge pull request #2 from yarons/patch-1

3.8 support update