Mark Shannon added the comment:

If type.coroutine is not the first and only decorator, then things may be even 

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 

I think creating a copy is probably the best thing to.


Python tracker <>
Python-bugs-list mailing list

Reply via email to