STINNER Victor added the comment: > Maybe is_something() is a better name than get_something() > if something is a boolean?
os and socket modules already use getxxx() / setxxx() names: - os.get_inheritable() / os.set_inheritable() - os.getuid() / os.setuid() - os.getgroups() / os.setgroups() - os.getxattr() os.setxattr() - socket.gettimeout() / socket.settimeout() - socket.get_inheritable() / socket.set_inheritable() - etc. There is only one "is" function: os.isatty(), but it does not have a "os.settty" method. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22054> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com