| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -42,6 +42,7 @@ | |||
| 42 | 42 | - Sam Winstanley ([@swinstanley](https://github.com/swinstanley)) | |
| 43 | 43 | - Sean Freitag ([@cowboygneox](https://github.com/cowboygneox)) | |
| 44 | 44 | - Serge Weinstock ([@sweinst](https://github.com/sweinst)) | |
| 45 | + - Simon Mourier ([@smourier](https://github.com/smourier)) | ||
| 45 | 46 | - Viktoria Kovescses ([@vkovec](https://github.com/vkovec)) | |
| 46 | 47 | - Ville M. Vainio ([@vivainio](https://github.com/vivainio)) | |
| 47 | 48 | - Virgil Dupras ([@hsoft](https://github.com/hsoft)) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -8,11 +8,13 @@ This document follows the conventions laid out in [Keep a CHANGELOG][]. | |||
| 8 | 8 | ## [unreleased][] | |
| 9 | 9 | ||
| 10 | 10 | ### Added | |
| 11 | + | ||
| 11 | 12 | - Added support for embedding python into dotnet core 2.0 (NetStandard 2.0) | |
| 12 | 13 | - Added new build system (pythonnet.15.sln) based on dotnetcore-sdk/xplat(crossplatform msbuild). | |
| 13 | 14 | Currently there two side-by-side build systems that produces the same output (net40) from the same sources. | |
| 14 | 15 | After a some transition time, current (mono/ msbuild 14.0) build system will be removed. | |
| 15 | 16 | - NUnit upgraded to 3.7 (eliminates travis-ci random bug) | |
| 17 | + - Added C# `PythonEngine.AddShutdownHandler` to help client code clean up on shutdown. | ||
| 16 | 18 | - Added `clr.GetClrType` ([#432][i432])([#433][p433]) | |
| 17 | 19 | - Allowed passing `None` for nullable args ([#460][p460]) | |
| 18 | 20 | - Added keyword arguments based on C# syntax for calling CPython methods ([#461][p461]) | |
@@ -26,8 +28,13 @@ This document follows the conventions laid out in [Keep a CHANGELOG][]. | |||
| 26 | 28 | ### Changed | |
| 27 | 29 | - PythonException included C# call stack | |
| 28 | 30 | ||
| 31 | + - Reattach python exception traceback information (#545) | ||
| 32 | + - PythonEngine.Intialize will now call `Py_InitializeEx` with a default value of 0, so signals will not be configured by default on embedding. This is different from the previous behaviour, where `Py_Initialize` was called instead, which sets initSigs to 1. ([#449][i449]) | ||
| 33 | + | ||
| 29 | 34 | ### Fixed | |
| 30 | 35 | ||
| 36 | + - Fixed secondary PythonEngine.Initialize call, all sensitive static variables now reseted. | ||
| 37 | + This is a hidden bug. Once python cleaning up enough memory, objects from previous engine run becomes corrupted. ([#534][p534]) | ||
| 31 | 38 | - Fixed Visual Studio 2017 compat ([#434][i434]) for setup.py | |
| 32 | 39 | - Fixed crashes when integrating pythonnet in Unity3d ([#714][i714]), | |
| 33 | 40 | related to unloading the Application Domain | |
@@ -43,6 +50,8 @@ This document follows the conventions laid out in [Keep a CHANGELOG][]. | |||
| 43 | 50 | - Fixed errors breaking .NET Remoting on method invoke ([#276][i276]) | |
| 44 | 51 | - Fixed PyObject.GetHashCode ([#676][i676]) | |
| 45 | 52 | - Fix memory leaks due to spurious handle incrementation ([#691][i691]) | |
| 53 | + - Fix spurious assembly loading exceptions from private types ([#703][i703]) | ||
| 54 | + - Fix inheritance of non-abstract base methods ([#755][i755]) | ||
| 46 | 55 | ||
| 47 | 56 | ||
| 48 | 57 | ## [2.3.0][] - 2017-03-11 | |
@@ -600,6 +609,7 @@ This document follows the conventions laid out in [Keep a CHANGELOG][]. | |||
| 600 | 609 | ||
| 601 | 610 | [1.0.0]: https://github.com/pythonnet/pythonnet/releases/tag/1.0 | |
| 602 | 611 | ||
| 612 | + [i714]: https://github.com/pythonnet/pythonnet/issues/714 | ||
| 603 | 613 | [i608]: https://github.com/pythonnet/pythonnet/issues/608 | |
| 604 | 614 | [i443]: https://github.com/pythonnet/pythonnet/issues/443 | |
| 605 | 615 | [p690]: https://github.com/pythonnet/pythonnet/pull/690 | |
@@ -693,3 +703,6 @@ This document follows the conventions laid out in [Keep a CHANGELOG][]. | |||
| 693 | 703 | [p625]: https://github.com/pythonnet/pythonnet/pull/625 | |
| 694 | 704 | [i131]: https://github.com/pythonnet/pythonnet/issues/131 | |
| 695 | 705 | [p531]: https://github.com/pythonnet/pythonnet/pull/531 | |
| 706 | + [i755]: https://github.com/pythonnet/pythonnet/pull/755 | ||
| 707 | + [p534]: https://github.com/pythonnet/pythonnet/pull/534 | ||
| 708 | + [i449]: https://github.com/pythonnet/pythonnet/issues/449 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,4 @@ | |||
| 1 | - <?xml version="1.0" encoding="utf-8"?> | ||
| 1 | + <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | 2 | <configuration> | |
| 3 | 3 | <packageSources> | |
| 4 | 4 | <add key="dot-net MyGet Feed" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" protocolVersion="3"/> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -329,9 +329,16 @@ def _install_packages(self): | |||
| 329 | 329 | self.debug_print("Updating NuGet: {0}".format(cmd)) | |
| 330 | 330 | subprocess.check_call(cmd, shell=use_shell) | |
| 331 | 331 | ||
| 332 | - cmd = "{0} restore pythonnet.sln -MSBuildVersion 14 -o packages".format(nuget) | ||
| 333 | - self.debug_print("Installing packages: {0}".format(cmd)) | ||
| 334 | - subprocess.check_call(cmd, shell=use_shell) | ||
| 332 | + try: | ||
| 333 | + # msbuild=14 is mainly for Mono issues | ||
| 334 | + cmd = "{0} restore pythonnet.sln -MSBuildVersion 14 -o packages".format(nuget) | ||
| 335 | + self.debug_print("Installing packages: {0}".format(cmd)) | ||
| 336 | + subprocess.check_call(cmd, shell=use_shell) | ||
| 337 | + except: | ||
| 338 | + # when only VS 2017 is installed do not specify msbuild version | ||
| 339 | + cmd = "{0} restore pythonnet.sln -o packages".format(nuget) | ||
| 340 | + self.debug_print("Installing packages: {0}".format(cmd)) | ||
| 341 | + subprocess.check_call(cmd, shell=use_shell) | ||
| 335 | 342 | ||
| 336 | 343 | def _find_msbuild_tool(self, tool="msbuild.exe", use_windows_sdk=False): | |
| 337 | 344 | """Return full path to one of the Microsoft build tools""" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,21 @@ | |||
| 1 | + using NUnit.Framework; | ||
| 2 | + using Python.Runtime; | ||
| 3 | + | ||
| 4 | + namespace Python.EmbeddingTest | ||
| 5 | + { | ||
| 6 | + | ||
| 7 | + // As the SetUpFixture, the OneTimeTearDown of this class is executed after | ||
| 8 | + // all tests have run. | ||
| 9 | + [SetUpFixture] | ||
| 10 | + public class GlobalTestsSetup | ||
| 11 | + { | ||
| 12 | + [OneTimeTearDown] | ||
| 13 | + public void FinalCleanup() | ||
| 14 | + { | ||
| 15 | + if (PythonEngine.IsInitialized) | ||
| 16 | + { | ||
| 17 | + PythonEngine.Shutdown(); | ||
| 18 | + } | ||
| 19 | + } | ||
| 20 | + } | ||
| 21 | + } | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,4 @@ | |||
| 1 | - <?xml version="1.0" encoding="utf-8"?> | ||
| 1 | + <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | 2 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0"> | |
| 3 | 3 | <PropertyGroup> | |
| 4 | 4 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | |
@@ -106,6 +106,7 @@ | |||
| 106 | 106 | <Compile Include="TestRuntime.cs" /> | |
| 107 | 107 | <Compile Include="TestPyScope.cs" /> | |
| 108 | 108 | <Compile Include="TestTypeManager.cs" /> | |
| 109 | + <Compile Include="GlobalTestsSetup.cs" /> | ||
| 109 | 110 | </ItemGroup> | |
| 110 | 111 | <ItemGroup> | |
| 111 | 112 | <ProjectReference Include="..\runtime\Python.Runtime.csproj"> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,4 @@ | |||
| 1 | - using NUnit.Framework; | ||
| 1 | + using NUnit.Framework; | ||
| 2 | 2 | using Python.Runtime; | |
| 3 | 3 | ||
| 4 | 4 | namespace Python.EmbeddingTest | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,4 @@ | |||
| 1 | - using System; | ||
| 1 | + using System; | ||
| 2 | 2 | using NUnit.Framework; | |
| 3 | 3 | using Python.Runtime; | |
| 4 | 4 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,4 @@ | |||
| 1 | - using System; | ||
| 1 | + using System; | ||
| 2 | 2 | using System.Collections.Generic; | |
| 3 | 3 | using System.Linq; | |
| 4 | 4 | using NUnit.Framework; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,4 @@ | |||
| 1 | - using System; | ||
| 1 | + using System; | ||
| 2 | 2 | using NUnit.Framework; | |
| 3 | 3 | using Python.Runtime; | |
| 4 | 4 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments