Phillip J. Eby wrote: > At 10:28 AM 1/4/05 -0800, Guido van Rossum wrote: > >> Of course, more changes would be needed: docs, the test suite, and >> some simplifications to the instance method object implementation in >> classobject.c. >> >> Does anyone think this is a bad idea? > > > Code that currently does 'aClass.aMethod.im_func' in order to access the > function object would break, as would code that inspects 'im_self' to > determine whether a method is a class or instance method. (Although > code of the latter sort would already break with static methods, I > suppose.) Code of the latter sort wouldn't break with the change. We'd still have bound methods. Jim -- Jim Fulton mailto:jim at zope.com Python Powered! CTO (540) 361-1714 http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4