
July 29, 2011
12:15 p.m.
Ethan Furman wrote:
<class 'NoneType'> Traceback (most recent call last): File "<stdin>", line 3, in <module> TypeError: cannot create 'NoneType' instances
I hit this issue when I had a dictionary of types to instantiate, one of which was NoneType.
Is there any reason why we shouldn't change these three to produce the singleton instance instead of raising an error?
+0.5 -- Steven