set brox redblack pure python.