This code can simply be removed. I added very similar checking to the BeautifulSoup constructor, and I also decided not to prevent a user from parsing any string they really want to parse, so markup that looks like a URL or filename now only results in a warning.
021d430 is the revision that removes this redundant check.
This code can simply be removed. I added very similar checking to the BeautifulSoup constructor, and I also decided not to prevent a user from parsing any string they really want to parse, so markup that looks like a URL or filename now only results in a warning.
021d430 is the revision that removes this redundant check.