We already have lots and lots of get_ methods that all operate just fine. The way this is currently implemented each getter is just called behind the scenes. If someone wants to set a keyword argument, like language, they can just call the old getter just fine.
The reason I'm not using a custom getattr is that not all get_* functions take no inputs.
With a getter:
With a property
They're more pythonic, easier to read, etc etc.
We already have lots and lots of
get_
methods that all operate just fine. The way this is currently implemented each getter is just called behind the scenes. If someone wants to set a keyword argument, like language, they can just call the old getter just fine.The reason I'm not using a custom getattr is that not all get_* functions take no inputs.
What do you think?
(This is branched off of #12.)