[issue39794] Add --without-decimal-contextvar option to use just threads in decimal

Stefan Krah report at bugs.python.org
Mon Mar 2 05:45:59 EST 2020


Stefan Krah <stefan at bytereef.org> added the comment:

For the people who find this issue via a search engine:

  1) The defaults in 3.7, 3.8 and 3.9 are unchanged (you get
     the ContextVar).

  2) ./configure --without-decimal-contextvar enables the exact
     TLS context code from 3.3-3.6.  There is no new code.

  3) On Windows you need to edit PC\pyconfig.h to enable the TLS
     context.

  4) There are extensive tests for the flag in:

        Modules/_decimal/tests/runall-memorydebugger.sh

----------

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


More information about the Python-bugs-list mailing list