Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc68db9d

Browse files
committed
Raise a deprecation warning when beautifulsoup is used
1 parenta32c604 commitc68db9d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/html5lib/treebuilders/soup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
importwarnings
22

3+
warnings.warn("BeautifulSoup 3.x (as of 3.1) is not fully compatible with html5lib and support will be removed in the future",DeprecationWarning)
4+
35
fromBeautifulSoupimportBeautifulSoup,Tag,NavigableString,Comment,Declaration
46

57
import_base

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp