]> granicus.if.org Git - python/commit
Add a few ``__dynamic__ = 0'' lines in classes that need to preserve
authorGuido van Rossum <guido@python.org>
Sat, 29 Sep 2001 00:40:25 +0000 (00:40 +0000)
committerGuido van Rossum <guido@python.org>
Sat, 29 Sep 2001 00:40:25 +0000 (00:40 +0000)
commit751c4c864c5fbdc316d0237243bed1620101e2b5
tree12359022a0427fadad68dd598be5b37ef6584878
parent4bb1e36eec19b30f2e582fceffa250e1598262e1
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.)
Lib/test/test_descr.py