bpython's setup.py uses conditional expressions for setup()'s scripts argument, and therefore fails in src_compile with Python v2.4 The installed package makes use of context managers, so it also requires v2.5. Guess who patched setup.py for 2.4 before noticing that :) Thanks, James Reproducible: Always
Created attachment 248254 [details, diff] bpython-no_python_2_4.patch
Fixed.