BRANCH 4.3: added sys import
Merge branch 'master' into 4.3