Matrix multiplication operator
juhasch opened this issue · 3 comments
juhasch commented
I am playing with pynsource and got the following error:
Errors encountered: error Pynsource couldn't handle traversing AST in file c:\git\blenderexporter\export_blender.py corresponding to approx. lineno 382 coloffset 20 - source code:
world_co = np.array(ob.matrix_world @ vertex.co)
Please report this to https://github.com/abulka/pynsource/issues
Log file location:
C:\Users\ich\AppData\Roaming\Pynsource\debug.log
Actual exception:
'MatMult'
It looks like the "new" matrix multiplication operator (see PEP-465) is not handled correctly.
abulka commented
Thanks for reporting this and narrowing down the cause so precisely. I'll update the parsing logic for the next release.
abulka commented
Pending binary release 1.81 will contain this fix - otherwise the fix is in the source code on master.
abulka commented
Binaries, Installers and Snaps containing this fix are built and are now available: https://github.com/abulka/pynsource/releases
Thanks for your patience.