merged python fix from RC_0_16
stop logging production asserts after 500 hits
make release asserts build