[PATCH 1 of 2] py3: conditionalize the raise statement

Pulkit Goyal 7895pulkit at gmail.com
Tue Aug 9 16:34:44 UTC 2016


> Any ideas?

Sorry but I don't have one. My implementation is motivated from the
six implementation
https://bitbucket.org/gutworth/six/src/ca4580a5a648fc75abc568907e81abc80b05d58c/six.py?fileviewer=file-view-default#six.py-680
except they are defining a new function exec_() to prevent adding an
extra frame AFAIK :)



More information about the Mercurial-devel mailing list