[issue4634] 2to3 should fix "import HTMLParser"

2008-12-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: We do have a fixer that changes imports from std reorg. I added HTMLParser and htmlentitydefs in r67706. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker

[issue4634] 2to3 should fix "import HTMLParser"

2008-12-11 Thread David W. Lambert
David W. Lambert added the comment: It is hard. Although you know what you mean, 2to3 has no way to know for instance, that you never run your program with working directory containing file HTMLParser.py. 2to3 could offer a suggestion rather than reporting no change required. This issue is co

[issue4634] 2to3 should fix "import HTMLParser"

2008-12-11 Thread Lino Mastrodomenico
New submission from Lino Mastrodomenico <[EMAIL PROTECTED]>: This should be easy: 2to3 must convert "import HTMLParser" to "import html.parser". -- components: 2to3 (2.x to 3.0 conversion tool) messages: 77618 nosy: mastrodomenico severity: normal status: open title: 2to3 should fix "imp