On May 13, 2012, at 05:42 AM, Robert Collins wrote:
>the change to raise is invalid - it causes the wrong exception to be
>raised. AFAIK there is no way to do it compatibly with python 3, which is why
>that file isn't menat to be compiled on python3.
You could use the six package, which supports a version compatible reraise():
On May 13, 2012, at 05:42 AM, Robert Collins wrote:
>the change to raise is invalid - it causes the wrong exception to be
>raised. AFAIK there is no way to do it compatibly with python 3, which is why
>that file isn't menat to be compiled on python3.
You could use the six package, which supports a version compatible reraise():
http:// packages. python. org/six/ #syntax- compatibility
The implementation is fairly hairy, so it's probably not worth lifting that
from the package.