A recent comp.lang.python thread has a good explanation of Python's
assignment semantics:
http://groups.google.com/group/comp.lang.python/browse_thread/thread/56e7d62bf66a435c/
Kent,
Yes, interesting. But could you explain what you mean by "assignment semantics"? Semantics: < http://dictionary.reference.com/search?q=semantics>
I have trouble relating semantics to programming. Also, "object passing semantics" as in the sentence in that thread, "You need to learn about Python's scoping now, not its object passing semantics.
I did some Googling, and came up with this, which seems relevant, but clearer about syntax than semantics:
"Semantics
In linguistics, the study of meanings. In computer science, the term is frequently used to differentiate the meaning of an instruction from its format. The format, which covers the spelling of language components and the rules controlling how components are combined, is called the language's syntax. For example, if you misspell a command, it is a syntax error. If, on the other hand, you enter a legal command that does not make any sense in the current context, it is a semantic error. "
< http://www.angelfire.com/anime3/internet/programming.htm>
Thanks,
Dick Moores
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor