Forward port r70471: Add object_pairs_hook.  Issue 5381.
4 files changed