fix Py3 test issue
extend compile time constants error test case
support None as compile time constant expression