Translate None into undefined instead, this matches usage better
Merge branch 'master' into c-codec
Translate None into undefined in C codec too