The Topy project

François Pinard pinard at iro.umontreal.ca
Fri Apr 5 20:08:15 EST 2002


[Paul Rubin]

> What do you do about mutable strings?

Nothing, besides raising a translation diagnostic over mutating procedures.
At run-time, an un-edited conversion aborts with a Python run-time error.

The goal of Topy is to help porting a Scheme program to Python, not to
produce an equivalent program.  My feeling is that Scheme strings are
best translated as Python strings while porting an application, this is
the most legible choice.  Some adjustment is required on the result by
the programmer, who ought to re-evaluate the algorithms on such points.

-- 
François Pinard   http://www.iro.umontreal.ca/~pinard






More information about the Python-list mailing list