[issue17867] Deleting __import__ from builtins can crash Python3

2013-04-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 08ce30768003 by Benjamin Peterson in branch '3.3': raise an ImportError (rather than fatal) when __import__ is not found in __builtins__ (closes #17867) http://hg.python.org/cpython/rev/08ce30768003 -- nosy: +python-dev resolution: -> fixe

[issue17867] Deleting __import__ from builtins can crash Python3

2013-04-29 Thread Benjamin Peterson
Benjamin Peterson added the comment: Technically its not a crash but a fatal error. That's not to say its desirable, of course. :) -- nosy: +benjamin.peterson ___ Python tracker ___

[issue17867] Deleting __import__ from builtins can crash Python3

2013-04-29 Thread Dmi Baranov
Dmi Baranov added the comment: Another example of post-effects: >>> del __builtins__.__dict__['__import__'] >>> 1/0 Traceback (most recent call last): File "", line 1, in Fatal Python error: __import__ missing Current thread 0x7f3db64fd700: Aborted -- __

[issue17867] Deleting __import__ from builtins can crash Python3

2013-04-29 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue17867] Deleting __import__ from builtins can crash Python3

2013-04-29 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +brett.cannon, ezio.melotti stage: -> test needed ___ Python tracker ___ ___ Python-bugs-list mail

[issue17867] Deleting __import__ from builtins can crash Python3

2013-04-29 Thread Dmi Baranov
New submission from Dmi Baranov: Simple case - let's delete __import__ and try to import anything $ python3.3 Python 3.3.0 (default, Oct 7 2012, 11:03:52) [GCC 4.4.3] on linux Type "help", "copyright", "credits" or "license" for more information. >>> del __builtins__.__dict__['__import__'] >>>