[Python-porting] HTMLParser in 2to3

see csad7 at t-online.de
Mon Dec 15 21:18:41 CET 2008


hi,
(hope this is the right forum for this kind of question...)

While testing the 2to3 tool for a lib of mine I noticed imports for 
HTMLParser seem not to be changed yet.

I guess the following should happen:

	import HTMLParser
	# or
	from HTMLParser import HTMLParser

should get
	
	import html.parser
	# or
	from html.parser import HTMLParser

?

thanks
Chris


More information about the Python-porting mailing list