[PATCH 1 of 9] atexit: add special-purpose atexit functionality to util
Pulkit Goyal
7895pulkit at gmail.com
Wed Apr 12 17:47:43 UTC 2017
>
> > + finally:
> > + if excinfo is not None:
> > + raise excinfo[0], excinfo[1], excinfo[2]
>
> This breaks everything on Python 3. I generally don't want to reject
> patches
> because of Py3 breakage, but this is syntax error and wouldn't be trivially
> fixed in flight.
>
> We'll need to extract a helper function from e584c6235500. Pulkit?
>
Yeah I also agree we need one which can help people in future. I will send
a patch in sometime and will try to copy the six implementation if we can.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-devel/attachments/20170412/304e28f9/attachment-0002.html>
More information about the Mercurial-devel
mailing list