This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Mark.Shannon
Recipients Arfrever, Mark.Shannon, asvetlov, gvanrossum, larry, martin.panter, ncoghlan, python-dev, scoder, vstinner, yselivanov
Date 2015-07-05.18:41:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1436121702.83.0.136798060875.issue24325@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-07-05 18:41:42Mark.Shannonsetrecipients: + Mark.Shannon, gvanrossum, ncoghlan, scoder, vstinner, larry, Arfrever, asvetlov, python-dev, martin.panter, yselivanov
2015-07-05 18:41:42Mark.Shannonsetmessageid: <1436121702.83.0.136798060875.issue24325@psf.upfronthosting.co.za>
2015-07-05 18:41:42Mark.Shannonlinkissue24325 messages
2015-07-05 18:41:42Mark.Shannoncreate