ID 246037 - Using 'nuke.Menu.setShortcut' in the script editor will cause Nuke to crash

Follow

Problem summary
When using 'nuke.Menu.setShortcut' Nuke will crash

Customer reported version
nuke.8.0v6

Customer reported platform
Linux

Steps to reproduce
1. Open Nuke
2. Copy the following into the script editor:
menu = nuke.menu('Viewer')
menu.setShortcut('meta+w')
3. Run from the script editor
Result: crashes Nuke

Workaround
Unknown. 

Reproduced by support
OSX 10.11.3
10.0v4 - no crash report window
10.0v1 - crash report window: 88530DAA-20D0-403E-B03D-2DA13244A9DC
9.0v8 - crash report window: 78DC3E0F-6C8D-4294-B6C3-6838E198C39A
8.0v6 - crash report window: 891CC2B3-3C39-4324-8BCE-23895839F8DD
7.0v6 - no crash report window

Windows
10.0v4

Expected behaviour
No crash to occur

Actual behaviour
Crash occurred

    We're sorry to hear that

    Please tell us why