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

Amaury Forgeot d'Arc amauryfa at gmail.com
Fri Jan 25 00:27:13 CET 2008


Neal Norwitz wrote:
> Since this change affects byte code generation, the import magic #
> should be updated for 2.6. We can't update the magic for 2.5. For
> more info see Python/import.c or PEP 339.

Many thanks, I was just bitten by this in my 2.5 workspace:
I patched the files, ran the test to see it fail.
After recompiling the interpreter, test still failed...
because the pyc was considered up-to-date.
I will bump the magic number for 2.6 only.
-- 
Amaury Forgeot d'Arc


More information about the Python-checkins mailing list

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