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

Update documentation to reflect API changes by TheJanzap · Pull Request #2439 · pythonnet/pythonnet

Repository navigation

Update documentation to reflect API changes - #2439


Open
TheJanzap wants to merge 5 commits into pythonnet:master from TheJanzap:master
Open

Update documentation to reflect API changes #2439 TheJanzap wants to merge 5 commits into pythonnet:master from TheJanzap:master

Conversation

TheJanzap commented Aug 22, 2024 · edited Loading



Copy link Copy Markdown

What does this implement/fix? Explain your changes.

Adds the now mandatory use of setting the Python DLL in C# to the README and documentation

Does this close any currently open issues?

Fixes #2433

Any other comments?

Also updated the use of PyModule.Import in the wiki with https://github.com/pythonnet/pythonnet/wiki/Threading/aee4b778efd079911d1b771c8b59ba5bd7dd156d

Checklist

Check all those that are applicable and complete.

  • Make sure to include one or more tests for your change
  • If an enhancement PR, please create docs and at best an example
  • Ensure you have signed the .NET Foundation CLA
  • Add yourself to AUTHORS
  • Updated the CHANGELOG
TheJanzap added 2 commits August 22, 2024 11:32 Add Runtime.PythonDLL to C# example in README 44cc5af doc: Add different methods to reference Python DLL 2f69bd3 filmor requested changes Aug 22, 2024
View reviewed changes
Comment thread doc/source/dotnet.rst
Outdated

- Reference ``Python.Runtime.dll`` (e.g. via a ``PackageReference``)
- Reference ``Python.Runtime.dll`` (e.g. via a ``PackageReference``,
the ``Runtime.PythonDLL`` property or the ``PYTHONNET_PYDLL``
Comment thread README.rst

static void Main(string[] args)
{
Runtime.PythonDLL = "python38.dll";
TheJanzap added 2 commits August 27, 2024 10:16 doc: Create separate bullet point for Python DLL 243dace README: Add comment about setting Python DLL to example 353bb26

TheJanzap commented Aug 27, 2024



Copy link Copy Markdown
Author

I've noticed that Runtime.PythonDLL is also absent in the C# reference . Would it be enough to just remove the comment from

.. doxygennamespace:: Python::Runtime
       :members:
       :outline:

to enable it? Apologies, I'm new to RST and I get errors about missing index.xml files, so I can't compile it myself.

TheJanzap requested a review from filmor September 2, 2024 09:39

TheJanzap commented Nov 15, 2024



Copy link Copy Markdown
Author

@filmor Is this PR still relevant?

Merge branch 'master' into master 1268eda AtwoodTM mentioned this pull request Sep 13, 2026 flaky: test_remove_multiple_static_handlers #2576 Open

This branch has not been deployed


No deployments
Sign up for free to join this conversation on GitHub . Already have an account? Sign in to comment

Labels

None yet

2 participants