| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -22,10 +22,6 @@ matrix: | |||
| 22 | 22 | - dotnet-hostfxr-2.0.0 | |
| 23 | 23 | - dotnet-runtime-2.0.0 | |
| 24 | 24 | - dotnet-sdk-2.0.0 | |
| 25 | - - python: 3.3 | ||
| 26 | - env: *xplat-env | ||
| 27 | - addons: *xplat-addons | ||
| 28 | - | ||
| 29 | 25 | - python: 3.4 | |
| 30 | 26 | env: *xplat-env | |
| 31 | 27 | addons: *xplat-addons | |
@@ -47,9 +43,6 @@ matrix: | |||
| 47 | 43 | - BUILD_OPTS= | |
| 48 | 44 | - NUNIT_PATH=./packages/NUnit.*/tools/nunit3-console.exe | |
| 49 | 45 | ||
| 50 | - - python: 3.3 | ||
| 51 | - env: *classic-env | ||
| 52 | - | ||
| 53 | 46 | - python: 3.4 | |
| 54 | 47 | env: *classic-env | |
| 55 | 48 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -48,4 +48,5 @@ | |||
| 48 | 48 | - ([@rmadsen-ks](https://github.com/rmadsen-ks)) | |
| 49 | 49 | - ([@stonebig](https://github.com/stonebig)) | |
| 50 | 50 | - ([@testrunner123](https://github.com/testrunner123)) | |
| 51 | + - ([@GSPP](https://github.com/GSPP)) | ||
| 51 | 52 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -31,6 +31,7 @@ This document follows the conventions laid out in [Keep a CHANGELOG][]. | |||
| 31 | 31 | - Fixed `clr.GetClrType` when iterating over `System` members (#607) | |
| 32 | 32 | - Fixed `LockRecursionException` when loading assemblies (#627) | |
| 33 | 33 | - Fixed errors breaking .NET Remoting on method invoke (#276) | |
| 34 | + - Fixed PyObject.GetHashCode (#676) | ||
| 34 | 35 | ||
| 35 | 36 | ||
| 36 | 37 | ## [2.3.0][] - 2017-03-11 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -17,16 +17,13 @@ environment: | |||
| 17 | 17 | matrix: | |
| 18 | 18 | - PYTHON_VERSION: 2.7 | |
| 19 | 19 | BUILD_OPTS: --xplat | |
| 20 | - - PYTHON_VERSION: 3.3 | ||
| 21 | - BUILD_OPTS: --xplat | ||
| 22 | 20 | - PYTHON_VERSION: 3.4 | |
| 23 | 21 | BUILD_OPTS: --xplat | |
| 24 | 22 | - PYTHON_VERSION: 3.5 | |
| 25 | 23 | BUILD_OPTS: --xplat | |
| 26 | 24 | - PYTHON_VERSION: 3.6 | |
| 27 | 25 | BUILD_OPTS: --xplat | |
| 28 | 26 | - PYTHON_VERSION: 2.7 | |
| 29 | - - PYTHON_VERSION: 3.3 | ||
| 30 | 27 | - PYTHON_VERSION: 3.4 | |
| 31 | 28 | - PYTHON_VERSION: 3.5 | |
| 32 | 29 | - PYTHON_VERSION: 3.6 | |
@@ -41,6 +38,7 @@ init: | |||
| 41 | 38 | - set PATH=%PYTHON%;%PYTHON%\Scripts;%PATH% | |
| 42 | 39 | ||
| 43 | 40 | install: | |
| 41 | + - python -m pip install -U pip | ||
| 44 | 42 | - pip install --upgrade -r requirements.txt --quiet | |
| 45 | 43 | ||
| 46 | 44 | # Install OpenCover. Can't put on `packages.config`, not Mono compatible | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,6 +6,6 @@ coverage | |||
| 6 | 6 | codecov | |
| 7 | 7 | ||
| 8 | 8 | # Platform specific requirements | |
| 9 | - pip; sys_platform == 'win32' | ||
| 9 | + # pip; sys_platform == 'win32' | ||
| 10 | 10 | wheel; sys_platform == 'win32' | |
| 11 | 11 | pycparser; sys_platform != 'win32' | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -395,6 +395,14 @@ public static Assembly AddReference(string name) | |||
| 395 | 395 | { | |
| 396 | 396 | assembly = AssemblyManager.LoadAssemblyFullPath(name); | |
| 397 | 397 | } | |
| 398 | + if (System.IO.File.Exists(name)) | ||
| 399 | + { | ||
| 400 | + var zone = System.Security.Policy.Zone.CreateFromUrl(name); | ||
| 401 | + if (zone.SecurityZone != System.Security.SecurityZone.MyComputer) | ||
| 402 | + { | ||
| 403 | + throw new Exception($"File is blocked (NTFS Security)"); | ||
| 404 | + } | ||
| 405 | + } | ||
| 398 | 406 | if (assembly == null) | |
| 399 | 407 | { | |
| 400 | 408 | throw new FileNotFoundException($"Unable to find assembly '{name}'."); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -909,7 +909,7 @@ public override bool Equals(object o) | |||
| 909 | 909 | /// </remarks> | |
| 910 | 910 | public override int GetHashCode() | |
| 911 | 911 | { | |
| 912 | - return Runtime.PyObject_Hash(obj).ToInt32(); | ||
| 912 | + return ((ulong)Runtime.PyObject_Hash(obj)).GetHashCode(); | ||
| 913 | 913 | } | |
| 914 | 914 | ||
| 915 | 915 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -139,9 +139,6 @@ public class Runtime | |||
| 139 | 139 | #if PYTHON27 | |
| 140 | 140 | internal const string _pyversion = "2.7"; | |
| 141 | 141 | internal const string _pyver = "27"; | |
| 142 | - #elif PYTHON33 | ||
| 143 | - internal const string _pyversion = "3.3"; | ||
| 144 | - internal const string _pyver = "33"; | ||
| 145 | 142 | #elif PYTHON34 | |
| 146 | 143 | internal const string _pyversion = "3.4"; | |
| 147 | 144 | internal const string _pyver = "34"; | |
@@ -155,7 +152,7 @@ public class Runtime | |||
| 155 | 152 | internal const string _pyversion = "3.7"; | |
| 156 | 153 | internal const string _pyver = "37"; | |
| 157 | 154 | #else | |
| 158 | - #error You must define one of PYTHON33 to PYTHON37 or PYTHON27 | ||
| 155 | + #error You must define one of PYTHON34 to PYTHON37 or PYTHON27 | ||
| 159 | 156 | #endif | |
| 160 | 157 | ||
| 161 | 158 | #if MONO_LINUX || MONO_OSX // Linux/macOS use dotted version string | |
| Back | FazBrowse Home | New Git URL |
0 commit comments