Benjamin Peterson benja...@python.org added the comment:
Thanks for the report! Fixed in r74457.
--
nosy: +benjamin.peterson
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6707
New submission from Dino Viehland di...@microsoft.com:
from types import ModuleType as M
m = M.__new__(M)
dir(m)
In 2.5 this raises an exception about not having __dict__, 2.6.2
crashes out right.
--
components: Interpreter Core
messages: 91580
nosy: DinoV
severity: normal
status: