Stephen J. Turnbull wrote: > Jim Jewett writes: > > > I am slightly concerned that it might mean > > "string as string" and "string as identifier" have different tests > > for equality. > > It does mean that; see Rauli's code. Does anybody know if this > bothers LISP users, where identifiers are case-insensitive?
I don't think the issue arises in Lisp, because to use a string as an identifier you have to explicitly convert it to a symbol, whereupon there is an opportunity for case folding, normalisation, etc. to be done. -- Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | Carpe post meridiem! | Christchurch, New Zealand | (I'm not a morning person.) | [EMAIL PROTECTED] +--------------------------------------+ _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
