fix(config): 处理 _convert_field 函数中若干边界情况#1517
Open
suzmii wants to merge 1 commit intoMai-with-u:devfrom
Open
Conversation
1. 支持裸 list/set/tuple 注解(无类型参数)时的安全转换 2. 修复 tuple[T, ...] 不定长元组解析逻辑 3. 对非法 tuple 注解(如 tuple[str, int, ...])给出明确错误提示 4. 字符串"false"转换bool类型时不再转为True
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
支持裸 list/set/tuple 注解(无类型参数)
支持 tuple[T, ...] 不定长元组
字符串"false"转换bool类型时不再转为True
请填写以下内容
(删除掉中括号内的空格,并替换为小写的x)
main分支 禁止修改,请确认本次提交的分支 不是main分支其他信息
issue中提到的问题在最新代码中已经有相关处理逻辑(如果我没理解错的话)
通过review代码发现了几个新的潜在问题,在该PR中已完成修复