FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Use sys.meta_path instead of our old-style import hook · Issue #727 · pythonnet/pythonnet · GitHub

Repository navigation

Use sys.meta_path instead of our old-style import hook #727

Closed

Description

Python.NET as of now overrides __import__ directly which works, but has multiple nasty issues. Implementing a PEP302 compatible loader would allow us to keep __import__ alone, solving at least #559, #547. There's probably more issues due to this.

Activity

  1. added this to the 3.0.0 milestone on Aug 30, 2018
  2. ramik91 commented on Mar 22, 2020

    @filmor @denfromufa any update on this? I run into an issue using Kivy lib with pythonnet. Wondering if its worth trying to switch to different gui lib or moving to iron-python instead.

    Update:

    So I tried using tinker instead of kivy and it seems to load without problems on the first glance by just doing simple

    from tinker import *

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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL