]> granicus.if.org Git - python/commit
bpo-38005: Remove support of string argument in InterpreterID(). (GH-16227)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 25 Sep 2019 15:56:05 +0000 (08:56 -0700)
committerGitHub <noreply@github.com>
Wed, 25 Sep 2019 15:56:05 +0000 (08:56 -0700)
commitca14f047b068cd0fb81ef3d5e7bea19fe8af1b58
tree217b3b9a48d38d9928ac002da4f23eeac093f479
parent66cd041df8dfadd001ae298292e16f0271c0d139
bpo-38005: Remove support of string argument in InterpreterID(). (GH-16227)

Make negative interpreter id to raise ValueError instead of RuntimeError.
(cherry picked from commit 543a3951a1c96bae0ea839eacec71d3b1a563a10)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test__xxsubinterpreters.py
Objects/interpreteridobject.c