This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients akira, neologix, pitrou, vstinner
Date 2014-07-28.12:39:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> 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.
Date User Action Args
2014-07-28 12:39:20vstinnersetrecipients: + vstinner, pitrou, neologix, akira
2014-07-28 12:39:20vstinnersetmessageid: <>
2014-07-28 12:39:20vstinnerlinkissue22054 messages
2014-07-28 12:39:20vstinnercreate