[Python-porting] HTMLParser in 2to3
Brett Cannon
brett at python.org
Mon Dec 15 23:44:09 CET 2008
More information about the Python-porting mailing list
Mon Dec 15 23:44:09 CET 2008
- Previous message: [Python-porting] HTMLParser in 2to3
- Next message: [Python-porting] HTMLParser in 2to3
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, Dec 15, 2008 at 12:18, see <csad7 at t-online.de> wrote: > 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. > Please file a bug report at http://bugs.python.org so this doesn't get lost. > I guess the following should happen: > > import HTMLParser > # or > from HTMLParser import HTMLParser > > should get > > import html.parser > # or > from html.parser import HTMLParser The last should be ``from html import pasrser as HTMLParser``. -Brett
- Previous message: [Python-porting] HTMLParser in 2to3
- Next message: [Python-porting] HTMLParser in 2to3
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-porting mailing list