Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f0c5f62

Browse files
authored
Merge branch 'master' into patch-1
2 parents 7dde536 + f0f6b6b commit f0c5f62

File tree

5 files changed

+5
-2
lines changed

5 files changed

+5
-2
lines changed

AUTHORS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,5 @@
4848
- ([@rmadsen-ks](https://github.com/rmadsen-ks))
4949
- ([@stonebig](https://github.com/stonebig))
5050
- ([@testrunner123](https://github.com/testrunner123))
51+
- ([@GSPP](https://github.com/GSPP))
5152

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ This document follows the conventions laid out in [Keep a CHANGELOG][].
3131
- Fixed `clr.GetClrType` when iterating over `System` members (#607)
3232
- Fixed `LockRecursionException` when loading assemblies (#627)
3333
- Fixed errors breaking .NET Remoting on method invoke (#276)
34+
- Fixed PyObject.GetHashCode (#676)
3435

3536

3637
## [2.3.0][] - 2017-03-11

appveyor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ init:
4141
- set PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%
4242

4343
install:
44+
- python -m pip install -U pip
4445
- pip install --upgrade -r requirements.txt --quiet
4546

4647
# Install OpenCover. Can't put on `packages.config`, not Mono compatible

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ coverage
66
codecov
77

88
# Platform specific requirements
9-
pip; sys_platform == 'win32'
9+
# pip; sys_platform == 'win32'
1010
wheel; sys_platform == 'win32'
1111
pycparser; sys_platform != 'win32'

src/runtime/pyobject.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ public override bool Equals(object o)
909909
/// </remarks>
910910
public override int GetHashCode()
911911
{
912-
return Runtime.PyObject_Hash(obj).ToInt32();
912+
return ((ulong)Runtime.PyObject_Hash(obj)).GetHashCode();
913913
}
914914

915915

0 commit comments

Comments
 (0)