net.py patch