[issue23075] Mock backport in 2.7 relies on implementation defined behavior

2015-03-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Done. Thanks for raising it Mark. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ _

[issue23075] Mock backport in 2.7 relies on implementation defined behavior

2015-03-21 Thread Roundup Robot
Roundup Robot added the comment: 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 -- nosy: +python-dev ___ Python tr

[issue23075] Mock backport in 2.7 relies on implementation defined behavior

2015-03-21 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list ma

[issue23075] Mock backport in 2.7 relies on implementation defined behavior

2015-03-21 Thread Mark Lawrence
Mark Lawrence added the comment: Can we have a commit review please as this is such a simple patch. -- nosy: +BreamoreBoy ___ Python tracker ___ _

[issue23075] Mock backport in 2.7 relies on implementation defined behavior

2014-12-17 Thread Alex Gaynor
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