Issue 23075: Mock backport in 2.7 relies on implementation defined behavior (original) (raw)

Issue23075

Created on 2014-12-17 23:52 by alex, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
mock-backport.diff alex,2014-12-17 23:52
Messages (4)
msg232838 - (view) Author: Alex Gaynor (alex) * (Python committer) Date: 2014-12-17 23:52
Whether __builtins__ is a module or a dict is undefined in CPython. Use the reliably well defined `import __builtin__` instead.
msg238832 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2015-03-21 19:49
Can we have a commit review please as this is such a simple patch.
msg238833 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2015-03-21 20:05
New changeset d0b497c86c60 by Serhiy Storchaka in branch '2.7': Issue #23075: Whether __builtins__ is a module or a dict is undefined in https://hg.python.org/cpython/rev/d0b497c86c60
msg238834 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2015-03-21 20:09
Done. Thanks for raising it Mark.
History
Date User Action Args
2022-04-11 14:58:11 admin set github: 67264
2015-03-21 20:09:30 serhiy.storchaka set status: open -> closedresolution: fixedmessages: + stage: resolved
2015-03-21 20:05:37 python-dev set nosy: + python-devmessages: +
2015-03-21 20:04:20 serhiy.storchaka set assignee: serhiy.storchakanosy: + serhiy.storchaka
2015-03-21 19:49:17 BreamoreBoy set nosy: + BreamoreBoymessages: +
2014-12-17 23:52:00 alex create