deprecation warning about features='lxml' parser doesn't specify kwargs nor do docstrings
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Beautiful Soup |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Second to last line of warning message could be more informative, since the docstring is not.
```
>>> from bs4 import BeautifulSoup
>>> soup = BeautifulSoup(
/Users/
UserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("lxml"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently.
The code that caused this warning is on line 11 of the file /Users/
BeautifulS
to this:
BeautifulS
markup_
```
Changed in beautifulsoup: | |
status: | Fix Committed → Fix Released |
In revision 451 I improved the warning message and added a docstring to the constructor.