Skip to content
This repository was archived by the owner on Jul 15, 2024. It is now read-only.
This repository was archived by the owner on Jul 15, 2024. It is now read-only.

TryExcept 中当被装饰对象是一个类时,并在引发异常时,将发生异常处理错误 #3

Description

@2018-11-27

错误位于 TryExcept.exception_analysis 中的代码块 func.__globals__['__file__']
这里的 func 即指被装饰对象,当它是一个类时,它并没有 __globals__ 属性,此处将引发异常。

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions