Skip to content

Conversation

ftreurni
Copy link
Contributor

@ftreurni ftreurni commented Aug 1, 2019

What does this implement/fix? Explain your changes.

Currently the PyModuleType is deduced from the __builtin__ module. However, this fails when some third party package messes with this module (Nuitka). In this PR the PyModuleType is deduced directly from the Python shared library instead, which should be a safer approach to achieve the same.

Does this close any currently open issues?

#904

Any other comments?

...

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
  • Add yourself to AUTHORS
  • Updated the CHANGELOG

@Cronan
Copy link
Contributor

Cronan commented Aug 2, 2019

Seems like a good thing to me

@filmor
Copy link
Member

filmor commented Aug 2, 2019

Thank you very much for this precise analysis and the fix, greatly appreciated! :)

@filmor filmor merged commit f20bcf6 into pythonnet:master Aug 2, 2019
@ftreurni ftreurni deleted the fix-issue-904 branch August 3, 2019 08:04
AlexCatarino pushed a commit to QuantConnect/pythonnet that referenced this pull request Jun 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy