diagnose fails (path too long for Windows)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Beautiful Soup |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
>>> from bs4.diagnose import diagnose
>>> f=open(
>>> diagnose(f.read())
Diagnostic running on Beautiful Soup 4.6.0
Python version 3.6.3 (v3.6.3:2c5fed8, Oct 3 2017, 18:11:49) [MSC v.1900 64 bit (AMD64)]
Found lxml version 3.7.3.0
Found html5lib version 1.0.1
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\
elif os.path.
File "C:\Users\
os.stat(path)
ValueError: stat: path too long for Windows
Diagnose tries to open a file with the full content of my file as filename. This does not work on windows.
description: | updated |
Changed in beautifulsoup: | |
status: | Fix Committed → Fix Released |
Fixed in revision 453.