This is an archive of the discontinued Mercurial Phabricator instance.

py3: paper over differences in future exception handling
ClosedPublic

Authored by durin42 on Apr 13 2018, 6:33 PM.

Details

Summary

It looks like Python 3's futures library lacks set_exception_info
entirely. We'll just give up and use set_exception in that case.

  1. no-check-commit because the underbar naming is just saner here

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

durin42 created this revision.Apr 13 2018, 6:33 PM
indygreg accepted this revision.Apr 13 2018, 7:15 PM
indygreg added a subscriber: indygreg.

Ugh.

This revision is now accepted and ready to land.Apr 13 2018, 7:15 PM
This revision was automatically updated to reflect the committed changes.