Are they the same object<br><br><div class="gmail_quote">On 16 August 2012 21:01, Stefan Behnel <span dir="ltr"><<a href="mailto:stefan_ml@behnel.de" target="_blank">stefan_ml@behnel.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Steven D'Aprano, 16.08.2012 15:58:<br>
<div class="im">>>> NoneType raises an error if you try to create a second instance.<br>
</div><div class="im">> In my opinion, this is a PITA for None and better behaviour would be to<br>
> return the pre-existing NoneType instance, but I didn't design the<br>
> language.<br>
<br>
</div>The time machine strikes again.<br>
<br>
Python 3.3.0b1 (default:f7b59e890e30, Aug 11 2012, 05:30:10)<br>
[GCC 4.6.3] on linux<br>
Type "help", "copyright", "credits" or "license" for more information.<br>
>>> type(None)()<br>
>>> print(type(None)())<br>
None<br>
<span class="HOEnZb"><font color="#888888"><br>
Stefan<br>
<br>
<br>
--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</font></span></blockquote></div><br>