Graham Wideman <[email protected]> added the comment:
Demonstration:
print("x" + r' \' ' + "x") produces
x \' x
Where is this behavior _ever_ useful?
Or if there is some use case for this, how frequent is it compared to the
frequency of users expecting either that backslash does nothing special, or
that it would behave like an escape, and not appear in the output?
I'm not here to suggest there's some easy fix for this. I just don't want this
issue closing as "not a bug" and fail to register that this design is flawed.
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue31136>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com