Fixed on_notice to actually work
Merge remote-tracking branch 'parent/py3' into py3