diff options
author | Guido van Rossum <guido@python.org> | 2001-09-29 00:40:25 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-09-29 00:40:25 (GMT) |
commit | 751c4c864c5fbdc316d0237243bed1620101e2b5 (patch) | |
tree | 12359022a0427fadad68dd598be5b37ef6584878 /Lib/code.py | |
parent | 4bb1e36eec19b30f2e582fceffa250e1598262e1 (diff) | |
download | cpython-751c4c864c5fbdc316d0237243bed1620101e2b5.zip cpython-751c4c864c5fbdc316d0237243bed1620101e2b5.tar.gz cpython-751c4c864c5fbdc316d0237243bed1620101e2b5.tar.bz2 |
Add a few ``__dynamic__ = 0'' lines in classes that need to preserve
staticness when __dynamic__ = 1 becomes the default:
- Some classes which are used to test the difference between static
and dynamic.
- Subclasses of complex: complex uses old-style numbers and the slot
wrappers used by dynamic classes only support new-style numbers.
(Ideally, the complex type should be fixed, but that looks like a
labor-intensive job.)
Diffstat (limited to 'Lib/code.py')
0 files changed, 0 insertions, 0 deletions