You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a Python variable which default to None, and I need to pass it back to D side as null (basically I'm calling a D function, and want to pass a D null via autowrap), but I got an error:
.dub/packages/pyd-0.14.3/pyd/infrastructure/pyd/make_object.d(704): Couldn't convert Python type 'NoneType' to D type 'TheClassDType'
Is this a bug / enhancement? or there is some work-around?
Thanks.
I'm not sure this is a autowrap or pyd issue, so I logged same issue here:
Hi,
I have a Python variable which default to None, and I need to pass it back to D side as null (basically I'm calling a D function, and want to pass a D null via autowrap), but I got an error:
.dub/packages/pyd-0.14.3/pyd/infrastructure/pyd/make_object.d(704): Couldn't convert Python type 'NoneType' to D type 'TheClassDType'
Is this a bug / enhancement? or there is some work-around?
Thanks.
I'm not sure this is a autowrap or pyd issue, so I logged same issue here:
symmetryinvestments/autowrap#312
The text was updated successfully, but these errors were encountered: