propagate interface_number
python3 compatibility