Unhelpful error message
Skip Montanaro
skip.montanaro at gmail.com
Tue Jun 6 14:22:52 EDT 2017
On Tue, Jun 6, 2017 at 12:27 PM, Chris Angelico <rosuav at gmail.com> wrote:
> Or perhaps showing the repr of the string would be clearer.
This would definitely be better, I think, and require no special
casing of the empty string. Still, I doubt this would ever be
backported for fear of breaking code might be out there somewhere
which relies on the current behavior. At best, it might be added to
the next 3.x release (3.7?).
Skip
More information about the Python-list
mailing list