[Python-Dev] Re: [Python-checkins]
python/dist/src/Pythonmarshal.c, 1.79, 1.80
arigo at tunes.org
Wed Dec 22 13:53:37 CET 2004
On Tue, Dec 21, 2004 at 05:21:29PM -0500, Tim Peters wrote:
> > we reverted to repr/eval, which is quite slower (and actually not guaranteed to
> > work across Python versions either: string escapes sometimes change).
> Really? The precise rules str's __repr__ uses for which escapes to
> produce certainly change, but I don't recall any case outside
> Unicodeland where a new string escape was ever introduced.
My mistake, I seemed to remember something along these lines but you are
obviously right. Python 1.5.2 reads all escapes of a recent Python just fine.
More information about the Python-Dev