mirror of
https://github.com/python/cpython.git
synced 2026-05-08 05:32:01 -04:00
5837d0418f
Class execution requires that __prepare__() methods return a proper execution namespace. Check for that immediately after calling __prepare__(), rather than passing it through to the code execution machinery and potentially triggering SystemError (in debug builds) or a cryptic TypeError (in release builds). Patch by Oren Milman.
Miscellaneous source files for the main Python shared library