Created originally on Bitbucket by markrwilliams (Mark Williams)
Changesets for this Pull Request have not been imported, because it had been already declined on Bitbucket. Marked as closed by the import user.
Reading the comments I deleted in
test_typeobject.py makes me pretty sure you won't want to merge this! I'll say that CPython's dependence on
__slots__ results in a rather silly patch.
However, I was fixing up some tests in Twisted and it occurred to me this might be useful to someone, somewhere, so I took a stab at it. I haven't tested RPython translation because I don't have a big enough machine to do it :( I figured I'd see if there were any interest before I tried to borrow time on a suitable machine to work out any translation issues.