[New-bugs-announce] [issue6707] dir() on __new__'d module w/o dict crashes 2.6.2
Dino Viehland
report at bugs.python.org
Sat Aug 15 01:06:42 CEST 2009
New submission from Dino Viehland <dinov at 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: open
title: dir() on __new__'d module w/o dict crashes 2.6.2
versions: Python 2.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6707>
_______________________________________
More information about the New-bugs-announce
mailing list