Bug #978833: Revert r50844, as it broke _socketobject.dup.
Will backport.
3 files changed