]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
While scalling sys.modules, skip entries that don't have string keys,
authorGuido van Rossum <guido@python.org>
Thu, 1 Oct 1998 15:24:50 +0000 (15:24 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 1 Oct 1998 15:24:50 +0000 (15:24 +0000)
commit566373e974413de66ad1d627f322908597eb2efd
treeebab60f96f9115d224389f27a66c82cac1cfd742
parent231c8c0895996e8c8936eef5bd2df84999e9409a
While scalling sys.modules, skip entries that don't have string keys,
to protect us from jokers who put items with non-string keys in
sys.modules.  Reported by Greg Stein.
Python/import.c