标签:one code get lin python sys ror calling maximum
使用BeautifulSoup时,可能会抛出如下错误:RecursionError: maximum recursion depth exceeded while calling a Python object
查看系统递归限制,调大即可:
sys.getrecursionlimit()
1000
sys.setrecursionlimit(2000)
标签:one code get lin python sys ror calling maximum
原文地址:http://blog.51cto.com/13934611/2165572