STINNER Victor added the comment: I don't think that it's possible nor worth it to wrap all fcntl() and all ioctl() calls. I see these functions as very low-level APIs and so I consider that the caller is responsible of what he/she does.
If you want to change something, explian in fcntl module doc that the PEP 466 is not implemented in this module znd it's a deliberate choice. I agree with Martin, it's the responsability of the dev to use the right command depending on the use case. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27150> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com