Promise not to remove Sentinel?
- 主要语言
- Python
- 星标
- 653
- 派生
- 217
- 平均合并
- 2 天 21 小时
- 30 天内合并 PR
- 2
描述
In https://github.com/ipython/traitlets/commit/bbbdfbbf57d06487e3acd54d954fe512e5d1b693 Sentinel was made deprecated. In the warning it mentions it might be removed `"It was published by mistake, and may be removed in the future."`.
Sentinel is already used in traittypes, and now people are afraid this will cause a breakage in the future:
* https://github.com/jupyter-widgets/traittypes/issues/47
I think there is a tendency in the Python community to remove deprecated 'things', I think we should not do that.
Instead, we should try not to touch the deprecated parts, especially if they are 'islands of code' like the Sentinel class is, since it would not increase the maintainance burden at all I think.
Removal and renaming have caused a lot of pain and suffering for library maintainers and users and caused a lot of trust issues.
I suggest we either promise to not remove it, or mention we try to not do that.
贡献指南
调研方向
Start by reviewing commit bbbdfbbf57d06487e3acd54d954fe512e5d1b693 and the linked traittypes issue to understand Sentinel's deprecation and downstream concerns. Done would require a decided project policy on whether Sentinel remains supported, with that decision communicated in the appropriate project documentation or deprecation guidance.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- developer-experience
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 20/100