Mercurial > p > roundup > code
comparison test/__init__.py @ 4878:f6e76a03b502
HTML* classes for cgi are now all new-style
Add regression test for old behaviour: Lookup of a value of a
HTMLProperty was possibly via getitem -- for old-style classes this
worked because __getattr__ returned the __getitem__ of a newly created
HTMLItem object, this does no longer work for new-style classes as these
look up special method only on the class not the instance.
| author | Ralf Schlatterbeck <rsc@runtux.com> |
|---|---|
| date | Sat, 29 Mar 2014 10:52:20 +0100 |
| parents | f63aa57386b0 |
| children |
comparison
equal
deleted
inserted
replaced
| 4877:2ba982dcdf2c | 4878:f6e76a03b502 |
|---|
