8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dee41b8 commit d48f512Copy full SHA for d48f512
src/runtime/Codecs/TupleCodecs.cs
@@ -34,7 +34,7 @@ public PyObject TryEncode(object value)
34
foreach (FieldInfo field in tupleType.GetFields())
35
{
36
var item = field.GetValue(value);
37
- IntPtr pyItem = Converter.ToPython(item);
+ IntPtr pyItem = Converter.ToPython(item, field.FieldType);
38
Runtime.PyTuple_SetItem(tuple, fieldIndex, pyItem);
39
fieldIndex++;
40
}
0 commit comments