提交 cf0abd43 authored 作者: Frederic Bastien's avatar Frederic Bastien

Enable fast stack trace for python 3.5. I tested it and it work.

上级 65e9846c
...@@ -61,12 +61,6 @@ def simple_extract_stack(f=None, limit=None, skips=[]): ...@@ -61,12 +61,6 @@ def simple_extract_stack(f=None, limit=None, skips=[]):
trace.reverse() trace.reverse()
return trace return trace
if sys.version_info[:2] > (3, 4):
# I enable my implementation only for some python version just to
# be sure the Python internal do not change. If this work with
# other python version, you can enable it.
simple_extract_stack = traceback.extract_stack # noqa
def add_tag_trace(thing, user_line=1): def add_tag_trace(thing, user_line=1):
""" """
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论