_trim_arity can make debugging awful
Brought to you by:
ptmcg
_trim_arity fails to differentiate between various TypeErrors - instead assuming that it caused them all.
Better would be to check that at least the exception args contain the word "argument".
Still not perfect as any mismatched arguments in the user's parse actions get smothered.
Fix is checked into SVN, will be in the next release