Re: odd difference calling function from class or instance variable

2014-08-13 Thread GregS
Thanks to both of you for your incredibly prompt replies. My homework for tonight is to digest the descriptor protocol... Peter, thanks for suggesting using staticmethod() to get the behaviour I was expecting. I've only used staticmethod as a decorator before now. Chris, I agree that it's n

odd difference calling function from class or instance variable

2014-08-13 Thread GregS
Hello, This is my first post here so please gently inform me of any etiquette breaches. I'm seeing a behaviour I can't explain with Python 3.4.1 when I call a function via a reference stored in an object. When I assign the reference as a class variable, the reference has __self__ set, too,