消息 [246330]
If type.coroutine is not the first and only decorator, then things may be even worse.
Code objects are currently immutable.
This change would mean that a call to types.coroutine in one place in the code would change the semantics of another piece of code in a potentially surprising way.
I think creating a copy is probably the best thing to. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2015-07-05 18:41:42 | Mark.Shannon | 修改 | recipients:
+ Mark.Shannon, gvanrossum, ncoghlan, scoder, vstinner, larry, Arfrever, asvetlov, python-dev, martin.panter, yselivanov |
| 2015-07-05 18:41:42 | Mark.Shannon | 修改 | messageid: <1436121702.83.0.136798060875.issue24325@psf.upfronthosting.co.za> |
| 2015-07-05 18:41:42 | Mark.Shannon | 链接 | issue24325 messages |
| 2015-07-05 18:41:42 | Mark.Shannon | 创建 | |
|