Bug#501207: destar: Fails to run with python2.5

John Wright jsw at debian.org
Tue Oct 7 17:51:22 UTC 2008


On Tue, Oct 07, 2008 at 09:07:10AM +0300, Faidon Liambotis wrote:
> John Wright wrote:
> > Yes, lenny will have both python2.4 and python2.5.  One workaround, at
> > least for the compiler.ast.From problem, would be to run destar with
> > #!/usr/bin/python2.4 instead of #!/usr/bin/python.  But I think it
> > better to fix the bug rather than try to work around it, if possible.
> Definitely, my concern was for the backwards compatibility.
> 
> >> Are your fixes backwards compatible? It'd suck to fix this only to have
> >> a bug report the day after "fails to run with python2.4" :)
> > 
> > I made sure the fix for #501207 was backwards-compatible.  As for the
> > SyntaxError problem, I'm surprised it ever worked at all.  Function
> > definitions with optional arguments before required positional arguments
> > aren't legal in 2.4 either (I'm not sure when/if they ever were).  Maybe
> > quixote used to generate different actual Python code than it does now
> > in this case?  Anyway, I'm pretty certain the patch for the SyntaxError
> > will work with python2.4, but I'll check tomorrow.
> Great, thanks a lot!

It still works for me when I replace "#!/usr/bin/env python" with
"#!/usr/bin/env python2.4" in /usr/share/destar/python/destar.py.

-- 
John Wright <jsw at debian.org>





More information about the Pkg-voip-maintainers mailing list