( )⚙ D4396 stringutil: teach pprint() to recognize generators

This is an archive of the discontinued Mercurial Phabricator instance.

stringutil: teach pprint() to recognize generators
ClosedPublic

Authored by indygreg on Aug 27 2018, 12:15 PM.

Details

Summary

Otherwise they get serialized as e.g.

<generator object X at 0x7f543d3d68c0>

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

indygreg created this revision.Aug 27 2018, 12:15 PM
pulkit accepted this revision.Aug 28 2018, 10:25 AM
This revision was automatically updated to reflect the committed changes.