Enitre ZMQ.py is intended to be regenerated during setup based on the version of zmq (h2py zmq.h). I already noticed some unit tests failing when I change from 4.1 to 4.0.