Py_SetPath shouldn't exist on Python2.7

Environment

  • Pythonnet version: current
  • Python version: Python27
  • Operating System: All

Details

Py_SetPath wasn't introduced until PY32.
The function is internally exposed defined, and publicly mapped to PythonPath setter causing an DllEntryPointException when running PythonEngine.PythonPath = "path";.

It should instead raise a NotSupported Exception on Python 27