This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients gvanrossum, pablogsal, pfalcon, ppperry, terry.reedy, vstinner
Date 2020-01-15.21:45:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I modified ceval.c to accept dict subclasses when I was working on PEP 416:

This PEP motivation was to implement a sandbox. The PEP was rejected. Later, I closed my pysandbox beause it was "broken by design":

Paul Sokolovsky wrote in bpo-36220 than his idea is also to implement a sandbox:

IMHO we should reject dict subclasses to make Python (especially ceval.c) more efficient. The global type must be checked at every place where it's possible to specify or override globals. Like the exec() function.
Date User Action Args
2020-01-15 21:45:42vstinnersetrecipients: + vstinner, gvanrossum, terry.reedy, pfalcon, ppperry, pablogsal
2020-01-15 21:45:42vstinnersetmessageid: <>
2020-01-15 21:45:42vstinnerlinkissue32615 messages
2020-01-15 21:45:42vstinnercreate