Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ This version improves performance on benchmarks significantly compared to 2.3.
`Obsolete`, should never have been `public` in the first place. They also
don't necessarily return a result that matches the `platform` module's.
- Unconditionally depend on `pycparser` for the interop module generation
- Removed .NET remoting support

### Fixed

Expand Down
8 changes: 0 additions & 8 deletions src/runtime/converter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -162,15 +162,7 @@ internal static IntPtr ToPython(object value, Type type)
var pyderived = value as IPythonDerivedType;
if (null != pyderived)
{
#if NETSTANDARD
return ClassDerivedObject.ToPython(pyderived);
#else
// if object is remote don't do this
if (!System.Runtime.Remoting.RemotingServices.IsTransparentProxy(pyderived))
{
return ClassDerivedObject.ToPython(pyderived);
}
#endif
}

// hmm - from Python, we almost never care what the declared
Expand Down