On 24/03/2015 11:08 a.m., Antoine Pitrou wrote: > I agree with cast(x, T). It also nicely mirrors isinstance(x, T). I think that cast(T, x) is more readable when x is a long expression. It puts the type next to the thing using or being assigned the result, making it easier to visually verify that the types match up. -- Greg