Eric Smith <e...@trueblade.com> added the comment: What OS, processor, and Python version are you running this code on?
>From your example, it's Python 3.x. 3.1 has a completely rewritten float->decimal conversion system, and I get different results. >>> print(.1) 0.1 >>> print((.1,)) (0.1,) >>> For 2.6 and 3.0, you'll get the old behavior, and this won't change. Are you really using Python 3.0 (which is marked in the versions)? If so, switch to 3.1 and see what you get. ---------- nosy: +eric.smith, mark.dickinson status: open -> pending _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7010> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com