Mercurial > p > roundup > code
view roundup/anypy/__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 | eddb82d0964c |
| children | 9ba03348f923 |
line wrap: on
line source
""" roundup.anypy - compatibility layer for any Python 2.3+ """ VERSION = '.'.join(map(str, (0, 1, # hashlib_, sets_ )))
