← Winnitude! Search  ·  Reader Mode (1244 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 8 LINKS

Update "Embedding python into .NET" documentation to reflect new way to import modules · Issue #2187 · pythonnet/pythonnet

Repository navigation

Update "Embedding python into .NET" documentation to reflect new way to import modules  #2187


New issue

New issue

Closed

Closed
Update "Embedding python into .NET" documentation to reflect new way to import modules #2187

Description

@sanzoghenzo's profile sanzoghenzo opened on Jul 7, 2023

Environment

  • Pythonnet version: 3.0.1

Details

I'm trying to upgrade pyRevit to use the latest pythonnet version, since it is still using version 2.5.2 which causes many problems for those who wants to run cpython scripts.

After updating the dependency, the compiler complains about the missing PythonEngine.ImportModule method, even if this is still what the documentation says to use.

Only after an extensive search in the commit history I saw that that method was deprecated in favor of PyModule.Import, but the deprecation is already removed (too soon if you ask me).

Please update the documentation to reflect this (and maybe more breaking changes that I didn't catch yet?)

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