scapy expecting file-like methods that don't exist
scapy expecting file-like methods that don't exist

scapy seems to have a bug in it in that it expects stdout to have a
flush() method, which is not specified in the documentation for the sys
module (it specifies that it requires only a write() method to be
acceptable). So this is a hack to fix it, it's harmless though.

charles-dyfis-net/bpython