消息 [360394]
While raising ImportError certainly makes much more sense in this case, this change is backwards incompatible and there was no DeprecationWarning. I don't consider that fair.
As a certain compromise, we could maybe raise a custom ImportError+ValueError offspring (e.g. BeyondToplevelImportError)?
If feeling fancy, we could rise a DeprecationWarning when issublcass(BeyondToplevelImportError, ValueError) is used? |
|
| 日期 |
用户 |
动作 |
参数 |
| 2020-01-21 12:01:13 | hroncok | 修改 | recipients:
+ hroncok, brett.cannon, rhettinger, ncoghlan, eric.snow, serhiy.storchaka, miss-islington, Ben Lewis2 |
| 2020-01-21 12:01:13 | hroncok | 修改 | messageid: <1579608073.2.0.728054996681.issue37444@roundup.psfhosted.org> |
| 2020-01-21 12:01:13 | hroncok | 链接 | issue37444 messages |
| 2020-01-21 12:01:13 | hroncok | 创建 | |
|