Skip to content

Py_SetPath shouldn't exist on Python2.7 #418

Closed
@vmuriart

Description

@vmuriart

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions