( )⚙ D5581 rust-cpython: set conversion for MissingAncestors.bases()

This is an archive of the discontinued Mercurial Phabricator instance.

rust-cpython: set conversion for MissingAncestors.bases()
ClosedPublic

Authored by gracinet on Jan 14 2019, 9:14 PM.

Details

Summary

Also I hope that the separate py_set() helper will help transition
to proper PySet support in rust-cpython

Took the opportunity to replace explict for loop with iteration
and collect().

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

gracinet created this revision.Jan 14 2019, 9:14 PM
kevincox accepted this revision.Jan 15 2019, 2:46 PM
This revision was automatically updated to reflect the committed changes.