The cleverness in __init__ causes problems

Bug #1232604 reported by Michael Elsdörfer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Beautiful Soup
Fix Released
Undecided
Unassigned

Bug Description

...
    soup = BeautifulSoup(page.text)
  File "/usr/local/lib/python3.3/site-packages/bs4/__init__.py", line 167, in __init__
    if os.path.exists(markup):
  File "/usr/local/Cellar/python3/3.3.2/Frameworks/Python.framework/Versions/3.3/lib/python3.3/genericpath.py", line 18, in exists
    os.stat(path)
TypeError: embedded NUL character

Just some data with strange content.

Changed in beautifulsoup:
status: New → Fix Committed
Changed in beautifulsoup:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.