Skip to content

Py_SetPath shouldn't exist on Python2.7 #418

Closed

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

Activity

  1. added a commit that references this issue on Apr 7, 2017
    ce6fbd6
  2. added a commit that references this issue on Jun 1, 2017
    1aa6e4c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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