ice icon indicating copy to clipboard operation
ice copied to clipboard

Remove Python type info validation

Open pepone opened this issue 3 weeks ago • 0 comments

The IcePy extensions validate Types, to ensure dispatch and invocation are called with the expected types. This type validation is redundant with the validation done by the type checker now that we support type hints.

It would be better to remove the validate methods, and then throw if marshaling got an unexpected type.

see:

https://github.com/zeroc-ice/ice/blob/c53c9239a8c938b75eb1ece377270c8d3d792ce0/python/modules/IcePy/Operation.cpp#L704

pepone avatar Dec 10 '25 22:12 pepone