tdu.Vector does not take arguments on creation
tdu.Vector does not take indexed access

tableDAT cannot be accesed with indizes
tableDAT appendRow cannot be used without specifing index.
I’ll look into this. Thanks for heads up!
Thank you Wieland, keep em coming! We are having to do some technical work before I can make TDI changes, but I will fix all this stuff as soon as we are through it.
Okay, these fixes are coming in next 2025 release. Some of the argument stuff, like timecode, are not perfectly typed (technically just used *args) … you’ll just have to read the docs that popup, but it won’t error any more at least.
Fixed Timecode args too ![]()
One additional missing element: tdError seems to be undescribed when global and when imported from td. Maybe this is user error, but its especially useful when protecting run.kill() operations.
My major gaps were appendRow and array access of DATs, and tdu.timecode, but will keep my eye out.
tdError and tdAttributeError will be in tdi in next release. Thanks for the tip!
You’ll probably be happy to know that we plan to revamp tdErrors to be much more specific to their error types. We need to decide if we want to change applicable tdErrors to their proper Python exception types or if it would be better to keep internal td errors as their own subclasses, just less generic than “tdError”. Thoughts?
Sweet, glad to hear.
THe Exceptions: Tough one. Changing to python-base probaby breaks some stuff the except tdError would no longer work, but I suppose using generic python ones as the basis is the smarter move.
Thanks for adding, Ivan! And I concur, using generic python errors is best because they’re generally self-descriptive and then you don’t have to reinvent the wheel.
My proposal would be to inherit from existing one but not omitting custom TD exceptions.
So a OperatorInvalid exception based on ValueError would still be descriptive but could be catched by expecting a ValueError.