Skip to content

Update pynet version #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 67 commits into
base: unity-custom
Choose a base branch
from
Open

Conversation

BadSingleton
Copy link

What does this implement/fix? Explain your changes.

...

Does this close any currently open issues?

...

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
  • Ensure you have signed the .NET Foundation CLA
  • Add yourself to AUTHORS
  • Updated the CHANGELOG

lostmsu and others added 30 commits June 30, 2022 16:42
fixed unhandled Python errors during comparison attempts

fixes pythonnet#1848
Additionally, fixes a type hint and makes sure that the new default
behaviour is to use the environment variable if given.
Allows the project to be referenced in other .NET projects without
adjusting its project file (pythonnet#1853).
There are small typos in:
- pythonnet/__init__.py
- tests/test_import.py

Fixes:
- Should read `splitted` rather than `splited`.
- Should read `loaded` rather than `laoded`.

Signed-off-by: Tim Gates <tim.gates@iress.com>
…ng sequence protocol to (pythonnet#1902)

.NET arrays when the target .NET type is `System.Object`. The conversion is still attempted when the
target type is a `System.Array`

fixes pythonnet#1900
- Supports loading without explicitly specifying the runtime config now
- Exposes information on the loaded runtime
Config-less CoreCLR and improved runtime load message
Implicit float conversion in function calls
lostmsu and others added 29 commits October 13, 2022 13:36
Delete target object from event handler collections when it has no more event handlers
…s when target type is System.Object

useful to be able to change what numpy.float64 is converted to

related to pythonnet#1957

this is an alternative to pythonnet#1958
Allow decoders to decode Python types derived from primitives
BigInteger constructor uses the sign bit in the first byte. Since we explicitly handle the sign, the fix is to prepend a zero byte to the number, which does not change it, but ensures sign bit is zero.

fixes pythonnet#1990
Fix positive `PyInt` converted to negative `BigInteger`
since RuntimeMethodHandle does not encode generic arguments, I had to supply RuntimeTypeHandle of the declaring type to be able to get fully specified method
…erface

Fix implementing a generic interface with a Python class
@BadSingleton BadSingleton force-pushed the update-pynet-version branch from a2f6249 to 354317a Compare May 26, 2023 16:18
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.

5 participants