Author fried
Recipients fried, yselivanov
Date 2019-10-08.20:45:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The standard contextmanager decorator produces a wrapper that itself can be used as a decorator

def some_context():

def some_function():
    # we are inside a with some_context() now. 


When I created a version of asynccontextmanager internally before it was available in the  stdLib I copied this behavior and I have people internally to facebook using this behavior,  Was there a reason this behavior was not replicated to asynccontextmanager?  

I have a diff an tests to add
Date User Action Args
2019-10-08 20:45:49friedsetrecipients: + fried, yselivanov
2019-10-08 20:45:49friedsetmessageid: <>
2019-10-08 20:45:49friedlinkissue38415 messages
2019-10-08 20:45:49friedcreate