[Python-modules-team] Bug#484360: Proposed patch

John Wright jsw at debian.org
Mon Oct 6 23:41:53 UTC 2008


tags 484360 + patch
thanks

The interface to compiler.ast.From seems to have changed in Python 2.5.
It now takes a required "level" argument.  I believe passing it a value
of 0 results in the same behavior as the old version.  Anyway, this
seems to work for destar (after I fix an unrelated bug in that package
that I'm about to file...).

I've attached a patch that implements this.

-- 
John Wright <jsw at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug484360.patch
Type: text/x-diff
Size: 962 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20081006/5824c2a1/attachment.patch 


More information about the Python-modules-team mailing list