Author scotchka
Recipients ppperry, scotchka, serhiy.storchaka, xtreak
Date 2019-01-17.01:37:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Hmm, the example works for me (Python 3.6.5):

>>> import pdb
>>> class FakeContainer:
...     def __getitem__(self, key):
...             raise KeyError(key)
> <string>(1)<module>()
(Pdb) c

As for exec/eval accepting an incomplete mapping, that strikes me as a less than thorough checking on the part of exec/eval, perhaps for performance reasons(?)
Date User Action Args
2019-01-17 01:38:02scotchkasetrecipients: + scotchka, serhiy.storchaka, ppperry, xtreak
2019-01-17 01:38:00scotchkasetmessageid: <>
2019-01-17 01:38:00scotchkalinkissue34782 messages
2019-01-17 01:37:59scotchkacreate