Skip to content

[CodeStyle][py2] remove compat module (to_text) - #47036

Merged
luotao1 merged 7 commits into
PaddlePaddle:developfrom
cattidea:py2/fix/compat-part4
Oct 18, 2022
Merged

luotao1 merged 7 commits into
PaddlePaddle:developfrom
cattidea:py2/fix/compat-part4

Conversation

@SigureMo

@SigureMo SigureMo commented Oct 14, 2022 •

Copy link
Copy Markdown
Collaborator

PR types

Others

PR changes

Others

Describe

清理 compat 模块的第四步(to_text 函数)

同 to_bytes,to_text 函数本身和单测暂未清理,在之后 PR 清理

Related links

@paddle-bot

paddle-bot Bot commented Oct 14, 2022

Copy link
Copy Markdown

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册。
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@SigureMo
SigureMo force-pushed the py2/fix/compat-part4 branch from a6b69cb to a38258d Compare October 15, 2022 12:56
@SigureMo SigureMo changed the title [WIP][CodeStyle][py2] remove compat module (to_text) [CodeStyle][py2] remove compat module (to_text) Oct 15, 2022
@luotao1 luotao1 self-assigned this Oct 17, 2022
@luotao1

luotao1 commented Oct 17, 2022

Copy link
Copy Markdown
Collaborator

to_text 函数本身和单测暂未清理,在之后 PR 清理

请解决下冲突。可以直接把函数/单测清理了,因为 #46965 已经冲突了。

@SigureMo

Copy link
Copy Markdown
Collaborator Author

请解决下冲突。可以直接把函数/单测清理了,因为 #46965 已经冲突了。

冲突已解决,不过这里没有清理函数和单测还有另外一个原因,是因为完全清理后将会到达 30+ 文件(除去函数单测两个文件还有一些 fluid 下的 import),需要额外的 Approve,如果拆成两个 PR 则可以避开这一问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants