address discussion and resote py26 compat