Michael Foord <mich...@voidspace.org.uk> added the comment: Heh - all ascii would be a better heuristic, or zero null characters perhaps. But 2.X is destined to die anyway so I'm happy for it to only be the default for unicode strings without implementing potentially complex, wrong and slow heuristics.
Users can always register it themselves using addTypeEqualityFunc if they want. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7032> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com