8000 Add mp_length slot for .NET classes implementing ICollection/ICollection<T> by slide · Pull Request #994 · pythonnet/pythonnet · GitHub
[go: up one dir, main page]

Skip to content

Add mp_length slot for .NET classes implementing ICollection/ICollection<T> #994

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Dec 16, 2019
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
Prev Previous commit
Next Next commit
Fix accidentally changed files
  • Loading branch information
slide committed Nov 21, 2019
commit b5261a1ecdac8cf9d2b86de2f6f2508238146f13
1 change: 1 addition & 0 deletions src/runtime/classbase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ public static IntPtr tp_repr(IntPtr ob)
}
}


/// <summary>
/// Standard dealloc implementation for instances of reflected types.
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion src/tests/test_conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -700,4 +700,4 @@ def test_sbyte_array_conversion():
ob.SByteArrayField = value
array = ob.SByteArrayField
for i, _ in enumerate(value):
assert array[i] == indexbytes(value, i)
assert array[i] == indexbytes(value, i)
0