[mod_python] servlet _HTML little bug

Daniel Popowich dpopowich at comcast.net
Mon Aug 2 16:09:35 EDT 2004

> al line 711 of _HTML:
> def Image(src, **attrs):
>     i = apply(IMG, (), a)<------- a instead of attrs

As I mentioned in the tutorial, _HTML.py is a re-packaging of
HyperText (http://dustman.net/andy/python/HyperText) in one module,
so I could easily include it in my tutorial without having to require
users to download a third-party package.

Anyway, this bug is in his package.  I will pass it on.



If you are actively developing with the code in _HTML.py I'd
recommend switching to the real HyperText python package.  I make no
guarantees for it other than it works for my tutorial!

More information about the Mod_python mailing list