On Thu, Nov 14, 2013 at 1:20 PM, Victor Stinner >> If you create an Exception with a unicode object for the message, (...) > > In Python 2, there are too many similar corner cases. It is impossible > to fix these bugs without taking the risk of introducing a regression.
Yes, there are -- the auto-encoding is a serious pain everywhere. However, this is a case where the resulting Exception is silenced -- it's the only one I know of, and there can't be many like that. > Seriously, *all* these tricky bugs are fixed in Python 3. So don't > loose time on trying to workaround them, but invest in the future: > upgrade to Python 3! Maybe so -- but we are either maintaining 2.7 or not -- it WIL be around for along time yet... (amazing to me how many people are still using <=2.7, actually, even for new projects .. thank you Red Hat "Enterprise" Linux ;-) ) -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com