Bug#501207: destar: Fails to run with python2.5
Faidon Liambotis
paravoid at debian.org
Tue Oct 7 06:07:10 UTC 2008
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!
Regards,
Faidon
More information about the Pkg-voip-maintainers
mailing list