]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #23075: Whether __builtins__ is a module or a dict is undefined in
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 21 Mar 2015 20:04:42 +0000 (22:04 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Sat, 21 Mar 2015 20:04:42 +0000 (22:04 +0200)
commit9f696c9809cb1c9d6f4b8d2cd43dcf866825f4e3
tree2c76630a5d3207cdc0087925ca2e1b28aeb5e781
parenta8e8f7ee1c39e61be9863098d3277884ce527ded
Issue #23075: Whether __builtins__ is a module or a dict is undefined in
CPython. Use the reliably well defined `import __builtin__` instead.
Patch by Alex Gaynor.
Lib/test/_mock_backport.py