]> granicus.if.org Git - python/commit
Make test_class work (but still fail) even though class.__dict__ is now a
authorThomas Wouters <thomas@python.org>
Sat, 15 Apr 2006 09:19:16 +0000 (09:19 +0000)
committerThomas Wouters <thomas@python.org>
Sat, 15 Apr 2006 09:19:16 +0000 (09:19 +0000)
commit4cdada9af61caa842cc1b04bac1968356cda7b7d
tree5ebd949a1edcd471483fecf6bcc48db6756b4cb4
parent1034dadf1fb032612281f7559be2b71615e9fc9e
Make test_class work (but still fail) even though class.__dict__ is now a
'dictproxy' (which is a read-only non-dict mapping type that can't be passed
to exec.)

The failures the test finds are behavioural differences between old- and
new-style classes that may or may not be intended.
Lib/test/test_class.py