File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 2727- David Lassonde ([ @lassond ] ( https://github.com/lassond ) )
2828- David Lechner ([ @dlech ] ( https://github.com/dlech ) )
2929- Dmitriy Se ([ @dmitriyse ] ( https://github.com/dmitriyse ) )
30+ - Florian Treurniet ([ @ftreurni ] ( https://github.com/ftreurni ) )
3031- He-chien Tsai ([ @t3476 ] ( https://github.com/t3476 ) )
3132- Inna Wiesel ([ @inna-w ] ( https://github.com/inna-w ) )
3233- Ivan Cronyn ([ @cronan ] ( https://github.com/cronan ) )
Original file line number Diff line number Diff line change @@ -19,6 +19,9 @@ This document follows the conventions laid out in [Keep a CHANGELOG][].
1919
2020### Fixed
2121
22+ - Fixed runtime that fails loading when using pythonnet in an environment
23+ together with Nuitka
24+
2225## [ 2.4.0] [ ]
2326
2427### Added
@@ -61,7 +64,7 @@ This document follows the conventions laid out in [Keep a CHANGELOG][].
6164- Fixed conversion of 'float' and 'double' values ([ #486 ] [ i486 ] )
6265- Fixed 'clrmethod' for python 2 ([ #492 ] [ i492 ] )
6366- Fixed double calling of constructor when deriving from .NET class ([ #495 ] [ i495 ] )
64- - Fixed ` clr.GetClrType ` when iterating over ` System ` members ([ #607 ] [ p607 ] )
67+ - Fixed ` clr.GetClrType ` when iterating over ` System ` members ([ #607 ] [ p607 ] )
6568- Fixed ` LockRecursionException ` when loading assemblies ([ #627 ] [ i627 ] )
6669- Fixed errors breaking .NET Remoting on method invoke ([ #276 ] [ i276 ] )
6770- Fixed PyObject.GetHashCode ([ #676 ] [ i676 ] )
Original file line number Diff line number Diff line change @@ -205,7 +205,6 @@ internal static void Initialize(bool initSigs = false)
205205 PyNotImplemented = PyObject_GetAttrString ( op , "NotImplemented" ) ;
206206 PyBaseObjectType = PyObject_GetAttrString ( op , "object" ) ;
207207
208- PyModuleType = PyObject_Type ( op ) ;
209208 PyNone = PyObject_GetAttrString ( op , "None" ) ;
210209 PyTrue = PyObject_GetAttrString ( op , "True" ) ;
211210 PyFalse = PyObject_GetAttrString ( op , "False" ) ;
@@ -302,6 +301,7 @@ internal static void Initialize(bool initSigs = false)
302301 dllLocal = loader . Load ( _PythonDll ) ;
303302 }
304303 _PyObject_NextNotImplemented = loader . GetFunction ( dllLocal , "_PyObject_NextNotImplemented" ) ;
304+ PyModuleType = loader . GetFunction ( dllLocal , "PyModule_Type" ) ;
305305
306306 if ( dllLocal != IntPtr . Zero )
307307 {
You can’t perform that action at this time.
0 commit comments