On 2016-12-28 21:01, Emanuel Landeholm wrote:
I think an argument could be made for including the str() of parameters
of primitive types and with small values (for some value of "primitive"
and "small", can of worms here...). I'm thinking numbers and short
strings. Maybe a flag to control this behaviour? My gut feeling is that
this would be a hack with lots of corner cases and surprises so it would
probably not be very helpful in the general case.

Don't you mean the repr or ascii because you'll want 'foo' to print as:

'foo'

and not as:

foo

_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to