STINNER Victor added the comment:

Victor> PyPy (and other Python implementations?) don't support non-string in 
type dictionary.
INADA Naoki> Wow! I thought it's Python's language. If we can prohibit non 
string name in all namespace, there might be possible optimization.

That's a different topic :-) It would be a backward incompatible change. 
Well... I don't think that anyone relies on this strange feature :-) IMHO it's 
more a side effect of the implementation, not a deliberate feature.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29360>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to