On Sat, 11 May 2019 at 00:27, Steve Dower <steve.dower@python.org> wrote:
On 04May2019 1353, Nick Coghlan wrote:
I've discussed this with Eric Snow a bit here at PyCon, and I take the view that trying to migrate away from relying on TLS at this late date isn't going to be worth the hassle.
I agree, but just want to point out (for when people ask in the future) that we agreed to stick with TLS for compatibility reasons and not because it's inherently better :)
Yeah, if we were starting from scratch today, a ubiquitous explicit context arg would potentially be preferable for a whole host of reasons. It's only the fact that we have to make the TLS approach work *anyway* for the sake of the existing API that means it isn't worthwhile to also pursue the explicit parameter approach at the level of the public API.
Cheers, Nick.
-- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia