[issue6707] dir() on __new__'d module w/o dict crashes 2.6.2

2009-08-15 Thread Benjamin Peterson
Benjamin Peterson added the comment: Thanks for the report! Fixed in r74457. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue6707] dir() on __new__'d module w/o dict crashes 2.6.2

2009-08-14 Thread Dino Viehland
New submission from Dino Viehland : 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: open title: dir() on __