-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sgmllib is deprecated #4
Comments
So in our codebase, sgmllib has been used in web/init.py , feed/feedparser.py and soup/BeautifulSoup.py. |
I think sgmllib is only used in pattern to create an HtmlParser (in I ripped out feedparser and soup as deps which makes it easier for pattern going forward in the pattern3 branch (specifically we don't need to care about fixing feedparser/soup with sgmlib, they've already done it). |
Future stage1 python3: print, __code__, next, in <dictionary>, relative import fixes Files to remember to fix for later pattern/web/json/decoder.py pattern/web/pdf/pdfdevice.py pattern/web/pdf/layout.py pattern/web/pdf/utils.py
For future reference: This is exactly what I ended up doing (see commit da00fff), seems to work fine. |
sgmllib is deprecated, update with HTMLParser or htmllib.
The text was updated successfully, but these errors were encountered: