Author Thomas.Waldmann
Recipients Thomas.Waldmann, eryksun, skrah, xtreak
Date 2019-01-24.20:23:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>

this is the current code i have for this (it is not as simple there as in the minimal code samples i attached here).

i meanwhile think i can not use a contextmanager there.

do you think this is as good as it gets for this kind of code?

if you all think this is expected behaviour for the python contextmanagers and can't be done better, this issue can be closed.
Date User Action Args
2019-01-24 20:23:32Thomas.Waldmannsetrecipients: + Thomas.Waldmann, skrah, eryksun, xtreak
2019-01-24 20:23:30Thomas.Waldmannsetmessageid: <>
2019-01-24 20:23:30Thomas.Waldmannlinkissue35686 messages
2019-01-24 20:23:30Thomas.Waldmanncreate