You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+43-22Lines changed: 43 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -5,45 +5,66 @@ project adheres to [Semantic Versioning][].
5
5
6
6
This document follows the conventions laid out in [Keep a CHANGELOG][].
7
7
8
-
## [unreleased][]
8
+
## [Unreleased][]
9
9
10
10
### Added
11
11
12
-
- Added automatic NuGet package generation in appveyor and local builds
13
-
- Added function that sets Py_NoSiteFlag to 1.
14
-
- Added support for Jetson Nano.
15
-
- Added support for __len__ for .NET classes that implement ICollection
16
-
- Added `PyExport` attribute to hide .NET types from Python
17
-
- Added PythonException.Format method to format exceptions the same as traceback.format_exception
18
-
- Added Runtime.None to be able to pass None as parameter into Python from .NET
19
-
- Added PyObject.IsNone() to check if a Python object is None in .NET.
12
+
### Changed
13
+
14
+
### Fixed
15
+
16
+
## [2.5.0-rc2][] - 2020-06-07
17
+
18
+
This version improves performance on benchmarks significantly compared to 2.3.
19
+
20
+
### Added
21
+
22
+
- Automatic NuGet package generation in appveyor and local builds
23
+
- Function that sets `Py_NoSiteFlag` to 1.
24
+
- Support for Jetson Nano.
25
+
- Support for `__len__` for .NET classes that implement ICollection
26
+
-`PyExport` attribute to hide .NET types from Python
27
+
-`PythonException.Format` method to format exceptions the same as
28
+
`traceback.format_exception`
29
+
-`Runtime.None` to be able to pass `None` as parameter into Python from .NET
30
+
-`PyObject.IsNone()` to check if a Python object is None in .NET.
20
31
- Support for Python 3.8
32
+
- Codecs as the designated way to handle automatic conversions between
33
+
.NET and Python types
21
34
22
35
### Changed
23
36
24
37
- Added argument types information to "No method matches given arguments" message
25
38
- Moved wheel import in setup.py inside of a try/except to prevent pip collection failures
26
-
- Removes PyLong_GetMax and PyClass_New when targetting Python3
39
+
- Removes `PyLong_GetMax` and `PyClass_New` when targetting Python3
27
40
- Improved performance of calls from Python to C#
28
41
- Added support for converting python iterators to C# arrays
29
-
- Changed usage of obselete function GetDelegateForFunctionPointer(IntPtr, Type) to GetDelegateForFunctionPointer<TDelegate>(IntPtr)
30
-
- When calling C# from Python, enable passing argument of any type to a parameter of C# type `object` by wrapping it into `PyObject` instance. ([#881][i881])
- When calling C# from Python, enable passing argument of any type to a
46
+
parameter of C# type `object` by wrapping it into `PyObject` instance.
47
+
([#881][i881])
31
48
- Added support for kwarg parameters when calling .NET methods from Python
32
49
- Changed method for finding MSBuild using vswhere
33
-
- Reworked `Finalizer`. Now objects drop into its queue upon finalization, which is periodically drained when new objects are created.
34
-
- Marked `Runtime.OperatingSystemName` and `Runtime.MachineName` as `Obsolete`, should never have been `public` in the first place. They also don't necessarily return a result that matches the `platform` module's.
50
+
- Reworked `Finalizer`. Now objects drop into its queue upon finalization,
51
+
which is periodically drained when new objects are created.
52
+
- Marked `Runtime.OperatingSystemName` and `Runtime.MachineName` as
53
+
`Obsolete`, should never have been `public` in the first place. They also
54
+
don't necessarily return a result that matches the `platform` module's.
35
55
36
56
### Fixed
37
57
38
-
- Fixed runtime that fails loading when using pythonnet in an environment
39
-
together with Nuitka
40
-
- Fixes bug where delegates get casts (dotnetcore)
41
-
- Determine size of interpreter longs at runtime
42
-
- Handling exceptions ocurred in ModuleObject's getattribute
43
-
- Fill `__classcell__` correctly for Python subclasses of .NET types
44
-
- Fixed issue with params methods that are not passed an array.
58
+
- Fixed runtime that fails loading when using pythonnet in an environment
59
+
together with Nuitka
60
+
- Fixes bug where delegates get casts (dotnetcore)
61
+
- Determine size of interpreter longs at runtime
62
+
- Handling exceptions ocurred in ModuleObject's getattribute
63
+
- Fill `__classcell__` correctly for Python subclasses of .NET types
64
+
- Fixed issue with params methods that are not passed an array.
65
+
- Use UTF8 to encode strings passed to `PyRun_String` on Python 3
0 commit comments