Message246330
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. |
|
Date |
User |
Action |
Args |
2015-07-05 18:41:42 | Mark.Shannon | set | recipients:
+ Mark.Shannon, gvanrossum, ncoghlan, scoder, vstinner, larry, Arfrever, asvetlov, python-dev, martin.panter, yselivanov |
2015-07-05 18:41:42 | Mark.Shannon | set | messageid: <1436121702.83.0.136798060875.issue24325@psf.upfronthosting.co.za> |
2015-07-05 18:41:42 | Mark.Shannon | link | issue24325 messages |
2015-07-05 18:41:42 | Mark.Shannon | create | |
|