Fred Drake wrote:
On 11/5/06, Stephan Richter <[EMAIL PROTECTED]> wrote:
This is officially an implementation detail;
zope.traversing.api.getName() is
the API call.
Interesting; I'd never known it was anything other than __name__.
These APIs just keep changing...
No, the APIs haven't changed. It's really a question of best practice
and that evolves over time. We created a formal API, getName,
because we were queasy about exposing __name__. In practice, there
is no other implementation and using __name__ is cleaner in a lot of
ways, IMO.
Jim
--
Jim Fulton mailto:[EMAIL PROTECTED] Python Powered!
CTO (540) 361-1714 http://www.python.org
Zope Corporation http://www.zope.com http://www.zope.org
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users