Python language suggestion

Chris Ryland cpr at emsoftware.com
Thu Jan 11 15:27:39 EST 2001


This migh sound radical, but has anyone ever entertained the idea that
foo.'bar bletch' might be a useful and logical extension of Python's
current attribute selection machinery?

I realize that foo['bar bletch'] is just as good for dictionary-like
objects, but foo.'bar bletch' would be very much more attractive in one
application I'm considering (which must use AppleScript-style
attributes, which can include spaces),and it seemed like a general
improvement to allow an arbitrary (constant) string after an
attribute "oeprator" (.).
--
Chris Ryland * Em Software, Inc. * www.emsoftware.com


Sent via Deja.com
http://www.deja.com/



More information about the Python-list mailing list