[Python-Dev] Methods identity...? (original) (raw)
Aahz aahz at pythoncraft.com
Fri Sep 24 16:11:05 CEST 2004
- Previous message: [Python-Dev] Methods identity...?
- Next message: [Python-Dev] Methods identity...?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Sep 24, 2004, Dmitry Vasiliev wrote:
Is this intended? Seems like a bug... (Python 2.1.3, 2.2.2, 2.3.4, 2.4a3, both old- and new- style classes.) >>> class Test(object): ... def test(self): pass ... >>> Test.test is Test.test False >>> t = Test() >>> t.test is t.test False
Not a bug. For more discussion, please post to comp.lang.python
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"A foolish consistency is the hobgoblin of little minds, adored by little statesmen and philosophers and divines." --Ralph Waldo Emerson
- Previous message: [Python-Dev] Methods identity...?
- Next message: [Python-Dev] Methods identity...?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]