Improved python boost range