changed: pythonic idioms