diff options
| author | Guido van Rossum <guido@python.org> | 2001-08-30 04:43:35 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 2001-08-30 04:43:35 +0000 |
| commit | c41418751fcef0a42f336ba91871827b45d558a7 (patch) | |
| tree | e046712a00e38e94b2a60f5f1a6298ac5eebd460 /Python/import.c | |
| parent | 31bcff8815f263ab25ac9458f7b45975d8ebecbc (diff) | |
| download | cpython-git-c41418751fcef0a42f336ba91871827b45d558a7.tar.gz | |
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.
Diffstat (limited to 'Python/import.c')
0 files changed, 0 insertions, 0 deletions
