2010/12/2 Stephen J. Turnbull <step...@xemacs.org>: > Because that works, but > > print(T1234) > > doesn't (it prints ASCII). You can't round-trip, but users will > want/expect that.
You should be able to round-trip, absolutely. I don't think you should expect print() to do that. str(56) possibly. :) That's an argument for it to be in a module, as you then would need to send in a parameter on which decimal characters you want. > T1000 = float('一.◯◯◯') That was already discussed here, and it's clear that unicode does not consider these characters to be something you can use in a decimal number, and hence it's not broken. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com