SIGN IN SIGN UP

Safety measures now that str and tuple are subclassable:

If tp_itemsize of the basetype is nonzero, only allow empty __slots__
(declaring that no __dict__ should be added), and don't add a weakref
offset.
G
Guido van Rossum committed
c41418751fcef0a42f336ba91871827b45d558a7
Parent: 31bcff8