PyPy compatibility: let unmodified slots be inherited in the standard way (#17837)
authorRonan Lamy <ronan.lamy@gmail.com>
Sat, 9 Mar 2019 19:38:05 +0000 (11:38 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sat, 9 Mar 2019 19:42:16 +0000 (11:42 -0800)
commit742568e7eb1ebb3679dcadce90cc89c83df3f162
tree0dec03cf211ea3df6c208f798d0fb9ef67b845e8
parent17232fb8422e71da27a44c24721c7c0e352a91d8
PyPy compatibility: let unmodified slots be inherited in the standard way (#17837)

Summary:
This is needed to fix a segfault on PyPy 3.6, see https://bitbucket.org/pypy/pypy/issues/2968/segfault-calling-cpyext_tp_new_tuple and https://github.com/pytorch/pytorch/issues/17835
Pull Request resolved: https://github.com/pytorch/pytorch/pull/17837

Differential Revision: D14399408

Pulled By: soumith

fbshipit-source-id: 75328a30018313d3223dd3e3eef9240a416c049b
torch/csrc/Size.cpp