You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 15, 2024. It is now read-only.
1.Added a new context manager `TryContext` to support contextual exception handling.
2.The parameters `silent_exc` and `raw_exc` are deprecated and replaced with `silent` and `raw`.
3.Fixed an issue where the line number positioning could be incorrect when an exception occurs on a line outside the function decorated by `TryExcept`. gqylpy#7
4.Refactored the code segments for exception parsing and handling, resulting in a faster solution.
5.Added support for automatically setting the `stacklevel` parameter when acquiring the logger method.
6.Improved numerous comments and type annotations.
7.Updated the README file to reflect the above changes.
1.新增上下文管理器 `TryContext`,以支持上下文异常处理。
2.参数 `silent_exc` 和 `raw_exc` 将弃用,更新为 `silent` 和 `raw`。
3.修复问题:当异常发生的行不在被 `TryExcept` 装饰的函数内部时,行数定位可能会出现错误。gqylpy#7
4.重构异常解析和异常处理的代码段,重构后的方案速度更快。
5.在获取日志记录器方法时支持自动设置 `stacklevel` 参数。
6.改进大量注释和类型注解。
7.对于以上改动更新自述文件。
No description provided.
The text was updated successfully, but these errors were encountered: