[issue24553] improve test coverage for subinterpreters

Stefan Krah report at bugs.python.org
Sat Jul 4 14:33:05 CEST 2015


Stefan Krah added the comment:

> Now I'm wondering what further test coverage we really need...

Ideally we'd test every C module with the tests executing "in
parallel" (sort of) in multiple interpreters.

I have done so for _decimal, which is mostly okay due to the
thread-local contexts. However, there are a couple of minor
glitches.


The reason I haven't pursued this is that *if* you run _decimal
in multiple interpreters, you get nasty sounding (but harmless)
warnings from libmpdec, which complains about being initialized
multiple times.


So from the absence of bug reports I concluded that no one is
using the sub-interpreter feature with _decimal.

----------
nosy: +skrah

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24553>
_______________________________________


More information about the Python-bugs-list mailing list