NumPy 2.0 float32 promotion divergence: Python int versus np.float32 scalar
Under NumPy 2.0, NEP 50 reclassifies Python built-in scalars as weak while NumPy scalar types such as np.float32 remain strong, altering dtype promotion outcomes when mixed with float32-typed arrays. A precise goal is to characterize why the expression np.array(1.5, dtype=np.float32) + 1 preserves float32 dtype, whereas np.float32(1.5) + 1 promotes to float6