This repository has been archived by the owner on Jul 15, 2024. It is now read-only.
2.1
- Optimize the core code of creating exception types.
- The dictionary
__history__
is now not allowed to be modified externally. - Reconstructs the underlying exception type
GqylpyError
. - Add decorators
ATryExcept
andARetry
, replacingTryExceptAsync
andRetryAsync
, respectively. - For the decorator
TryExceptAsync
andRetryAsync
that will be deprecated, a large number of parameter comments are omitted. - Adjust the code block that gets
logger
inTryExcept
. - Update the annotation information for the
__getattr__
method, now the feature description is more complete. - Correct the description when the parameter error of the
Retry
. - Update the logical blocks imported into real code to fit the new design.
- Other minor changes, fixes or optimizations.
- 优化创建异常类型的核心代码。
- 字典
__history__
现在不允许被外部修改。 - 重构底层异常类型
GqylpyError
。 - 新增装饰器
ATryExcept
和ARetry
,分别取代TryExceptAsync
和RetryAsync
。 - 对于即将弃用的装饰器
TryExceptAsync
和RetryAsync
,省略掉大量的参数注解。 - 调整
TryExcept
中获取logger
的代码块。 - 更新
__getattr__
方法的注释信息,现在的功能描述更清晰。 - 纠正
Retry
中的参数错误时的描述信息。 - 更新导入真实代码的逻辑块为适配新的设计方案。
- 其它一些小的改动,修复或优化。