[New-bugs-announce] [issue32630] Migrate decimal to use PEP 567 context variables

Yury Selivanov report at bugs.python.org
Tue Jan 23 01:56:55 EST 2018


New submission from Yury Selivanov <yselivanov at gmail.com>:

PEP 567 allows decimal to be safely used in async/await code.

I couldn't observe any performance impact by the proposed PR.  The PR doesn't modify decimal context behaviour: instead of using a thread-local storage it now uses a context variable.

----------
components: Library (Lib)
messages: 310472
nosy: gvanrossum, inada.naoki, skrah, vstinner, yselivanov
priority: normal
severity: normal
stage: patch review
status: open
title: Migrate decimal to use PEP 567 context variables
type: enhancement
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32630>
_______________________________________


More information about the New-bugs-announce mailing list