r/Python • • Nov 24 '16

The Case for Python 3

https://eev.ee/blog/2016/11/23/a-rebuttal-for-python-3/
575 Upvotes

349 comments sorted by

View all comments

11

u/unruly_mattress Nov 24 '16

I don't know this Zed guy, but... the only thing I agree with him about is that it would really be nice if Python showed the variable names it could not concatenate in error messages instead of just their type.

6

u/[deleted] Nov 24 '16 edited Nov 24 '16

This is fine for simple examples, but usually the bytes/text errors happen deep in some call stack in some coffee code you didn't write

2

u/unruly_mattress Nov 24 '16

Yup. And then you have some expression that involves 4 strings and you get the error message "string cannot be blah", but you have no idea which string it is. I think there has to be some way of letting the user know which operation went wrong and not only which line it was.

→ More replies (3)