diff options
author | Guido van Rossum <guido@python.org> | 2002-08-10 05:42:07 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-08-10 05:42:07 (GMT) |
commit | 40af889081938c1fea83cba0a9cbdb35e299119d (patch) | |
tree | b82e6e114ba1710a0d4bb6fbdd23baf7c7a25dea /Misc/NEWS | |
parent | e05f65a0c6fb0b59fe72bcb8055eb74a3f63bff8 (diff) | |
download | cpython-40af889081938c1fea83cba0a9cbdb35e299119d.zip cpython-40af889081938c1fea83cba0a9cbdb35e299119d.tar.gz cpython-40af889081938c1fea83cba0a9cbdb35e299119d.tar.bz2 |
Disallow class assignment completely unless both old and new are heap
types. This prevents nonsense like 2.__class__ = bool or
True.__class__ = int.
Diffstat (limited to 'Misc/NEWS')
0 files changed, 0 insertions, 0 deletions