[Python-checkins] r42998 - in python/trunk: Lib/test/test_compile.py Python/compile.c

Michael Hudson mwh at python.net
Mon Mar 13 17:45:47 CET 2006


"Guido van Rossum" <guido at python.org> writes:
> I don't know what Travis expected/wanted, but this changes behavior
> with respect to 2.4, and I don't like the change. (Or possibly the
> code generated was already incompatible with 2.4 ever since the AST
> branch was merged in.)

Your parenthetical comment is correct. I've already got a bug open
about what you're complaining about in this mail: #1441408. There's
even a patch that claims to fix it (#1446847) which I haven't looked
at yet.
> (1) For backwards compatibility; it's always been done this way. It'll
> probably break at least some unit tests. It's unlikely but not
> impossible that some type interprets these things differently.

It broke PyPy's unit tests! That's how I found the problem.
Cheers,
mwh
-- 
 I never realized it before, but having looked that over I'm certain
 I'd rather have my eyes burned out by zombies with flaming dung
 sticks than work on a conscientious Unicode regex engine.
 -- Tim Peters, 3 Dec 1998


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /