[Python-Dev] redefining is (original) (raw)
Josiah Carlson jcarlson at uci.edu
Wed Mar 24 02:02:31 EST 2004
- Previous message: [Python-Dev] redefining is
- Next message: [Python-Dev] PEP 318 (was re: redefining is)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[snip]
perhaps two distinct objects. How can one determine straightforwardly whether those objects are members of the same equivalence class?
You were there and helped point out some of the limitations of the original code I posted, which now has a straightforward recursive implementation here: http://mail.python.org/pipermail/python-dev/2004-March/043357.html
It holds up to the equivalence class requirements and is easy to use. As far as I can tell, it would be relatively straightforward to convert it into a C implementation and give it some sort of keyword name. Whether the conversion and keyword makes sense in the future, or whether a function is sufficient, I'll leave to others.
- Josiah
- Previous message: [Python-Dev] redefining is
- Next message: [Python-Dev] PEP 318 (was re: redefining is)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]