This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Update htmllib to HTML 4.01
Type: Stage:
Components: Library (Lib) Versions: Python 2.6
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: akuchling Nosy List: akuchling, georg.brandl, jlgijsbers, loewis
Priority: normal Keywords: patch

Created on 2003-11-04 21:57 by akuchling, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
htmllib.patch akuchling, 2003-11-04 21:57 Current draft of patch
htmllib.diff loewis, 2006-11-05 09:11
Messages (5)
msg44851 - (view) Author: A.M. Kuchling (akuchling) * (Python committer) Date: 2003-11-04 21:57
The attached patch adds methods for all of the HTML 4.01 
elements and rearranges things a bit.  

This version is incomplete.  Still to do:
* Expand test suite to exercise all the methods.
* Change documentation to match.
msg44852 - (view) Author: Johannes Gijsbers (jlgijsbers) * (Python triager) Date: 2004-08-07 21:53
Logged In: YES 
user_id=469548

I used the list at
http://www.w3.org/TR/html4/index/elements.html to check
whether the right functions were used:

col, frame, input and param should have do_tag() methods
instead of start/end_tag(): they are empty tags in HTML 4.01.

dd, dt and li should use start/end_tag() instead of
do_tag(). They have an optional end tag in HTML 4.01.

Oh, and I couldn't find a method for the 'div' element!
msg44853 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2006-11-05 09:11
Logged In: YES 
user_id=21627

I've updated the patch to integrate jlgijsbers' comments.
msg67603 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-06-01 21:08
This might be obsolete now that htmllib is going away in 3.0 and
deprecated in 2.6.
msg70709 - (view) Author: A.M. Kuchling (akuchling) * (Python committer) Date: 2008-08-04 18:11
Closing -- I'm not going to work on this patch further, and it seems
irrelevant.
History
Date User Action Args
2022-04-11 14:56:00adminsetgithub: 39505
2008-08-04 18:11:41akuchlingsetstatus: pending -> closed
messages: + msg70709
2008-06-01 21:08:20georg.brandlsetstatus: open -> pending
nosy: + georg.brandl
resolution: out of date
messages: + msg67603
2008-04-12 16:13:06ajaksu2setversions: + Python 2.6, - Python 2.5
2003-11-04 21:57:44akuchlingcreate