New submission from Alex Gaynor:

Whether __builtins__ is a module or a dict is undefined in CPython. Use the 
reliably well defined `import __builtin__` instead.

components: Library (Lib)
files: mock-backport.diff
keywords: patch
messages: 232838
nosy: alex, benjamin.peterson, dstufft
priority: normal
severity: normal
status: open
title: Mock backport in 2.7 relies on implementation defined behavior
versions: Python 2.7
Added file:

Python tracker <>
Python-bugs-list mailing list

Reply via email to