What other languages use the same data model as Python?

Paul Rubin no.email at nospam.invalid
Wed May 4 06:58:51 EDT 2011


Steven D'Aprano <steve+comp.lang.python at pearwood.info> writes:
>>>> x = "spam"
> what is the value of the variable x? Is it...?
> (1) The string "spam".

Python works about the same way as Lisp or Scheme with regard to this
sort of thing, and those languages have been described with quite a bit
of mathematical formality.  So if you want a precise theoretical
treatment you might look at the Scheme report.  It should be pretty
clear how it carries over to Python.



More information about the Python-list mailing list