Package: python-psyco Version: 1.6-2 Severity: normal User: debian-pyt...@lists.debian.org Usertags: python2.6
Psyco does not support bytecodes that were introduced in Python 2.6. As far as I can see, support for (some of?) them is already implemented and committed to the upstream VCS.
Example:$ cat test.py import sys
import psyco psyco.log('log.' + sys.version[:3]) psyco.full() def f(): return {1:2, 3:4} f()$ python2.5 test.py $ python2.6 test.py
$ sed -i -e 's/[0-9:.]*//' log.2.[56] $ diff -u log.2.[56] --- log.2.5 2010-05-02 12:18:34.000000000 +0200 +++ log.2.6 2010-05-02 12:18:34.000000000 +0200 @@ -1,4 +1,5 @@ Logging started, 05/02/10 %%%%%%%%%%%%%%%%%%%% FullCompiler: starting %%%%% + unsupported opcode 54 at f:9 % % memory usage: 44+ kb % program exit, 05/02/10 %%%%%%%%%%%%%%%%%%%% -- Jakub Wilk
signature.asc
Description: Digital signature